Fix prettier formatting in landing components and wallet service

This commit is contained in:
thefux
2026-09-03 16:02:05 +00:00
parent 47807ae92e
commit 6c0b45dd98
5 changed files with 2 additions and 16 deletions
@@ -134,12 +134,7 @@ export function CashuPaymentWorkflow({
} finally { } finally {
setIsCreatingKey(false); setIsCreatingKey(false);
} }
}, [ }, [initialToken, baseUrl, onApiKeyCreated, validityDate]);
initialToken,
baseUrl,
onApiKeyCreated,
validityDate,
]);
const handleSyncBalance = useCallback(async (): Promise<void> => { const handleSyncBalance = useCallback(async (): Promise<void> => {
if (!activeApiKey) { if (!activeApiKey) {
-1
View File
@@ -445,7 +445,6 @@ export function CheatSheet(): JSX.Element {
</Card> </Card>
)} )}
</TabsContent> </TabsContent>
</Tabs> </Tabs>
</main> </main>
</div> </div>
@@ -222,7 +222,6 @@ export function KeyInfoDetails({
</Card> </Card>
</div> </div>
<div className='flex justify-center gap-4'> <div className='flex justify-center gap-4'>
<Button <Button
onClick={handleRefund} onClick={handleRefund}
@@ -347,13 +347,7 @@ export function LightningPaymentWorkflow({
} finally { } finally {
setIsCreating(false); setIsCreating(false);
} }
}, [ }, [createAmount, baseUrl, pollInvoiceStatus, onApiKeyCreated, validityDate]);
createAmount,
baseUrl,
pollInvoiceStatus,
onApiKeyCreated,
validityDate,
]);
const handleTopupInvoice = useCallback(async (): Promise<void> => { const handleTopupInvoice = useCallback(async (): Promise<void> => {
const amount = parseInt(topupAmount); const amount = parseInt(topupAmount);
-1
View File
@@ -124,5 +124,4 @@ export class WalletService {
throw error; throw error;
} }
} }
} }