Le formatting fixes

This commit is contained in:
2023-10-19 16:50:58 -04:00
parent 0a4ad7792d
commit 3155442796
11 changed files with 119 additions and 125 deletions

View File

@@ -13,7 +13,7 @@ import { useState } from "react";
export default function () {
const [showCookieBox, setShowCookieBox] = useState(false);
const [loading, setLoading] = useState(false)
const [loading, setLoading] = useState(false);
return (
<Container maxW="container.md">
<Heading pt="36px">Let's get started</Heading>
@@ -32,7 +32,7 @@ export default function () {
/>
<Button
onClick={async () => {
setLoading(true)
setLoading(true);
const createTransferReq = await fetch("/api/data-transfers/create", {
body: JSON.stringify({
can_access: !showCookieBox,
@@ -47,7 +47,7 @@ export default function () {
});
if (!createTransferReq.ok) {
setLoading(false)
setLoading(false);
useToast()({
description: (
(await createTransferReq.json()) as { error: string }
@@ -66,7 +66,7 @@ export default function () {
}}
pt="32px"
isLoading={loading}
loadingText='Processing...'
loadingText="Processing..."
>
Continue
</Button>