From 456b327046a82bffc0e2e15afc1bc21cbbb7753a Mon Sep 17 00:00:00 2001 From: satnaing Date: Mon, 11 Nov 2024 18:51:41 +0700 Subject: [PATCH] chore: run code formatting --- src/components/nav.tsx | 2 +- src/components/sidebar.tsx | 2 +- src/components/user-nav.tsx | 8 ++++---- src/pages/errors/general-error.tsx | 4 ++-- src/pages/errors/maintenance-error.tsx | 4 ++-- src/pages/errors/not-found-error.tsx | 4 ++-- src/pages/errors/unauthorised-error.tsx | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/components/nav.tsx b/src/components/nav.tsx index 04dc1137..7c89c808 100644 --- a/src/components/nav.tsx +++ b/src/components/nav.tsx @@ -204,7 +204,7 @@ function NavLinkIconDropdown({ title, icon, label, sub }: NavLinkProps) { diff --git a/src/components/sidebar.tsx b/src/components/sidebar.tsx index 419de13c..693b2899 100644 --- a/src/components/sidebar.tsx +++ b/src/components/sidebar.tsx @@ -113,7 +113,7 @@ export default function Sidebar({ onClick={() => setIsCollapsed((prev) => !prev)} size='icon' variant='outline' - className='absolute z-50 hidden rounded-full -right-5 top-1/2 md:inline-flex' + className='absolute -right-5 top-1/2 z-50 hidden rounded-full md:inline-flex' > - diff --git a/src/pages/errors/maintenance-error.tsx b/src/pages/errors/maintenance-error.tsx index bb02137a..66b99846 100644 --- a/src/pages/errors/maintenance-error.tsx +++ b/src/pages/errors/maintenance-error.tsx @@ -5,13 +5,13 @@ export default function MaintenanceError() { const t = useTranslations('error') return (
-
+

503

{t('maintenance_title')}

{t.rich('maintenance_desc', { br: () =>
})}

-
+
diff --git a/src/pages/errors/not-found-error.tsx b/src/pages/errors/not-found-error.tsx index 52b2cdb4..abb3da5b 100644 --- a/src/pages/errors/not-found-error.tsx +++ b/src/pages/errors/not-found-error.tsx @@ -7,13 +7,13 @@ export default function NotFoundError() { const t = useTranslations('error') return (
-
+

404

{t('404_title')}

{t.rich('404_desc', { br: () =>
})}

-
+
diff --git a/src/pages/errors/unauthorised-error.tsx b/src/pages/errors/unauthorised-error.tsx index 2b435e1f..66f468df 100644 --- a/src/pages/errors/unauthorised-error.tsx +++ b/src/pages/errors/unauthorised-error.tsx @@ -7,13 +7,13 @@ export default function UnauthorisedError() { const t = useTranslations('error') return (
-
+

401

{t('unauthorised_title')}

{t.rich('unauthorised_desc', { br: () =>
})}

-
+