Cloud Accounts
- {getAccounts.error && (
- Failed to load
- )}
- {getAccounts.isLoading && (
- Loading
- )}
+ {getAccounts.error && Failed to load}
+ {getAccounts.isLoading && Loading}
{getAccounts.data && (
diff --git a/app/docs/layout.tsx b/app/docs/layout.tsx
index eaf63f3b99..e3d89f490a 100644
--- a/app/docs/layout.tsx
+++ b/app/docs/layout.tsx
@@ -1,13 +1,7 @@
-export default function DocsLayout({
- children,
-}: {
- children: React.ReactNode;
-}) {
+export default function DocsLayout({ children }: { children: React.ReactNode }) {
return (
-
- {children}
-
+ {children}
);
}
diff --git a/app/error.tsx b/app/error.tsx
index 9ed5104e8a..388b7fcc7b 100644
--- a/app/error.tsx
+++ b/app/error.tsx
@@ -2,13 +2,7 @@
import { useEffect } from "react";
-export default function Error({
- error,
- reset,
-}: {
- error: Error;
- reset: () => void;
-}) {
+export default function Error({ error, reset }: { error: Error; reset: () => void }) {
useEffect(() => {
// Log the error to an error reporting service
/* eslint-disable no-console */
diff --git a/app/layout.tsx b/app/layout.tsx
index d81ea47ba9..39517f2bf1 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -1,10 +1,11 @@
-import { Metadata, Viewport } from "next";
-import clsx from "clsx";
-
import "@/styles/globals.css";
-import { siteConfig } from "@/config/site";
-import { fontSans } from "@/config/fonts";
+
+import clsx from "clsx";
+import { Metadata, Viewport } from "next";
+
import { Navbar } from "@/components/navbar";
+import { fontSans } from "@/config/fonts";
+import { siteConfig } from "@/config/site";
import { Providers } from "./providers";
@@ -26,26 +27,15 @@ export const viewport: Viewport = {
],
};
-export default function RootLayout({
- children,
-}: {
- children: React.ReactNode;
-}) {
+export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
-
+
-
- {children}
-
+ {children}
diff --git a/app/login/layout.tsx b/app/login/layout.tsx
index d3a4a58ea4..561d6bcc49 100644
--- a/app/login/layout.tsx
+++ b/app/login/layout.tsx
@@ -1,13 +1,7 @@
-export default function LoginLayout({
- children,
-}: {
- children: React.ReactNode;
-}) {
+export default function LoginLayout({ children }: { children: React.ReactNode }) {
return (
-
- {children}
-
+ {children}
);
}
diff --git a/app/login/page.tsx b/app/login/page.tsx
index 113f81418e..c348917daf 100644
--- a/app/login/page.tsx
+++ b/app/login/page.tsx
@@ -1,17 +1,9 @@
"use client";
-import React from "react";
-import {
- Card,
- CardHeader,
- CardBody,
- CardFooter,
- Input,
- Link,
- Button,
-} from "@nextui-org/react";
import { EyeIcon } from "@heroicons/react/24/solid";
import { EyeSlashIcon } from "@heroicons/react/24/solid";
+import { Button, Card, CardBody, CardFooter, CardHeader, Input, Link } from "@nextui-org/react";
+import React from "react";
export default function LoginPage() {
const [isVisible, setIsVisible] = React.useState(false);
@@ -26,22 +18,13 @@ export default function LoginPage() {
Login
-
+
+
);