Skip to content

Commit

Permalink
fix: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
MiroslavPetrik committed Sep 16, 2024
1 parent cb4ce72 commit cc03710
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const config = {
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked",
"plugin:storybook/recommended"
"plugin:storybook/recommended",
],
rules: {
// Next.js pages/layouts must be async functions, but not always have something to await
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"jwt-decode": "^4.0.0",
"npm-check-updates": "^17.1.1",
"postcss": "^8.4.47",
"prettier": "^3.2.5",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.6",
"react-render-prop-type": "^0.1.0",
"storybook": "^8.3.0",
Expand Down
2 changes: 1 addition & 1 deletion src/app/[lng]/(user)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default async function Layout({
user={user}
signOutButton={<SignOutButton>{t("signOut")}</SignOutButton>}
/>
<main className="container mx-auto flex flex-1 ">{children}</main>
<main className="container mx-auto flex flex-1">{children}</main>
</>
);
}
2 changes: 1 addition & 1 deletion src/app/[lng]/onboarding/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default async function Onboarding({ params: { lng } }: Params) {
const { t } = await useTranslation("onboarding", lng);

return (
<main className="flex min-h-screen flex-col items-center justify-center ">
<main className="flex min-h-screen flex-col items-center justify-center">
<h1 className="mb-4 text-6xl font-extrabold tracking-tight">
{t("title")}
</h1>
Expand Down
6 changes: 3 additions & 3 deletions src/app/[lng]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ export default async function Home({ params: { lng } }: Params) {

return (
<>
<main className="flex min-h-screen flex-col items-center justify-center bg-gradient-to-r from-green-400 to-cyan-600 text-white">
<div className="container flex flex-col items-center justify-center gap-12 px-4 py-16 ">
<main className="flex min-h-screen flex-col items-center justify-center bg-gradient-to-r from-green-400 to-cyan-600 text-white">
<div className="container flex flex-col items-center justify-center gap-12 px-4 py-16">
<h1 className="text-5xl font-extrabold tracking-tight sm:text-[5rem]">
<span>NET3</span> Starter
</h1>
Expand All @@ -29,7 +29,7 @@ export default async function Home({ params: { lng } }: Params) {
<h3 className="text-2xl font-bold">{t("signIn")}</h3>
</Link>
<Link
className=" rounded-xl bg-white/10 p-4 text-center hover:bg-white/20"
className="rounded-xl bg-white/10 p-4 text-center hover:bg-white/20"
href="/signup"
>
<h3 className="text-2xl font-bold">{t("signUp")}</h3>
Expand Down
8 changes: 4 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
/* Path Aliases */
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
},
"@/*": ["./src/*"]
}
},
"include": [
".eslintrc.cjs",
Expand All @@ -36,7 +36,7 @@
"**/*.tsx",
"**/*.cjs",
"**/*.mjs",
".next/types/**/*.ts",
".next/types/**/*.ts"
],
"exclude": ["node_modules"],
"exclude": ["node_modules"]
}

0 comments on commit cc03710

Please sign in to comment.