From 7732b17febf8a33301eee5ea9adeb6b122c5a23e Mon Sep 17 00:00:00 2001 From: Andrei Kaleshka Date: Sun, 3 Dec 2023 18:28:01 +0100 Subject: [PATCH] use prettier --- .github/workflows/nextjs.yml | 6 +++--- app/layout.tsx | 3 ++- components/Typography.tsx | 1 - next.config.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 812e51a..d615bdd 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -7,7 +7,7 @@ name: Deploy Next.js site to Pages on: # Runs on pushes targeting the default branch push: - branches: ["main"] + branches: ['main'] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -21,7 +21,7 @@ permissions: # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. concurrency: - group: "pages" + group: 'pages' cancel-in-progress: false jobs: @@ -51,7 +51,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: "20" + node-version: '20' cache: ${{ steps.detect-package-manager.outputs.manager }} - name: Setup Pages uses: actions/configure-pages@v3 diff --git a/app/layout.tsx b/app/layout.tsx index 42a0dd7..3a309bf 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -6,7 +6,8 @@ const inter = Inter({ subsets: ['latin'] }); export const metadata: Metadata = { title: 'BudgetingKid - Foster good financial habits in your children', - description: 'Empower your kids with financial literacy and effortlessly manage their allowances. Sign up for our free app today and start fostering a financially savvy future for your children.', + description: + 'Empower your kids with financial literacy and effortlessly manage their allowances. Sign up for our free app today and start fostering a financially savvy future for your children.', }; export default function RootLayout({ diff --git a/components/Typography.tsx b/components/Typography.tsx index 51f1aa7..ed0b597 100644 --- a/components/Typography.tsx +++ b/components/Typography.tsx @@ -10,7 +10,6 @@ export function H2({ children, id }: PropsWithChildren<{ id?: string }>) { ); } - export function H3({ children, className, diff --git a/next.config.js b/next.config.js index 7338479..4ac12a5 100644 --- a/next.config.js +++ b/next.config.js @@ -2,7 +2,7 @@ const nextConfig = {}; if (process.env.NODE_ENV === 'production') { - nextConfig.output = 'export' + nextConfig.output = 'export'; } module.exports = nextConfig;