Skip to content

Commit 12bea5c

Browse files
committed
refactor: update locale page to adhere to syntax standards
The aim of this commit is to refactor the index.tsx file inside the [locale] directory. The imports are reorganized for readability and adhering to the syntax standards, particularly surrounding the spacing and grouping related imports together. No functionality change is introduced with this commit, it's solely for code cleanliness and readability.
1 parent fe5c91f commit 12bea5c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/pages/[locale]/index.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import {LocaleSwitcher} from '@/components/locale-switcher'
2-
import {availableLocales, loadCatalog} from '@/utils/locales'
3-
import {GetStaticPropsContext} from 'next'
4-
import {Vazirmatn} from 'next/font/google'
1+
import { LocaleSwitcher } from '@/components/locale-switcher'
2+
import { availableLocales, loadCatalog } from '@/utils/locales'
3+
import { Trans, t } from '@lingui/macro'
4+
import { useLingui } from '@lingui/react'
5+
import { GetStaticPropsContext } from 'next'
6+
import { Vazirmatn } from 'next/font/google'
57
import Head from 'next/head'
6-
import {t, Trans} from "@lingui/macro";
7-
import {useLingui} from "@lingui/react";
88

99
const vazirmatn = Vazirmatn({ subsets: ['latin', 'arabic'] })
1010

0 commit comments

Comments
 (0)