mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-10-05 12:28:22 +00:00
Fix prettier formatting in landing components and wallet service
This commit is contained in:
@@ -134,12 +134,7 @@ export function CashuPaymentWorkflow({
|
||||
} finally {
|
||||
setIsCreatingKey(false);
|
||||
}
|
||||
}, [
|
||||
initialToken,
|
||||
baseUrl,
|
||||
onApiKeyCreated,
|
||||
validityDate,
|
||||
]);
|
||||
}, [initialToken, baseUrl, onApiKeyCreated, validityDate]);
|
||||
|
||||
const handleSyncBalance = useCallback(async (): Promise<void> => {
|
||||
if (!activeApiKey) {
|
||||
|
||||
@@ -445,7 +445,6 @@ export function CheatSheet(): JSX.Element {
|
||||
</Card>
|
||||
)}
|
||||
</TabsContent>
|
||||
|
||||
</Tabs>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
@@ -222,7 +222,6 @@ export function KeyInfoDetails({
|
||||
</Card>
|
||||
</div>
|
||||
|
||||
|
||||
<div className='flex justify-center gap-4'>
|
||||
<Button
|
||||
onClick={handleRefund}
|
||||
|
||||
@@ -347,13 +347,7 @@ export function LightningPaymentWorkflow({
|
||||
} finally {
|
||||
setIsCreating(false);
|
||||
}
|
||||
}, [
|
||||
createAmount,
|
||||
baseUrl,
|
||||
pollInvoiceStatus,
|
||||
onApiKeyCreated,
|
||||
validityDate,
|
||||
]);
|
||||
}, [createAmount, baseUrl, pollInvoiceStatus, onApiKeyCreated, validityDate]);
|
||||
|
||||
const handleTopupInvoice = useCallback(async (): Promise<void> => {
|
||||
const amount = parseInt(topupAmount);
|
||||
|
||||
@@ -124,5 +124,4 @@ export class WalletService {
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user