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 {
|
} 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) {
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
@@ -124,5 +124,4 @@ export class WalletService {
|
|||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user