From ecad2de54a56c50adabf54246f7f9ce3b98d7a8d Mon Sep 17 00:00:00 2001 From: mrshmllow Date: Sat, 8 Oct 2022 18:03:28 +1100 Subject: [PATCH] prettier sweep --- .github/workflows/test.yml | 7 +++--- .../LocaleSwitcher/IconLocaleSwitcher.tsx | 15 ++++++++----- .../LocaleSwitcher/NativeLocaleSwitcher.tsx | 2 +- components/TreeItem.tsx | 15 ++++++++----- components/navbar.tsx | 20 ++++++++++------- pages/index.tsx | 4 +--- styles/globals.scss | 1 - tailwind.config.js | 22 +++++++++---------- 8 files changed, 46 insertions(+), 40 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5f24b90..d02980a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,9 +2,9 @@ name: Lint Code on: workflow_dispatch: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: lint: @@ -15,9 +15,8 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - cache: 'yarn' + cache: "yarn" - name: Install run: yarn install --frozen-lockfile - name: Lint run: yarn lint - diff --git a/components/LocaleSwitcher/IconLocaleSwitcher.tsx b/components/LocaleSwitcher/IconLocaleSwitcher.tsx index bf62339..d371924 100644 --- a/components/LocaleSwitcher/IconLocaleSwitcher.tsx +++ b/components/LocaleSwitcher/IconLocaleSwitcher.tsx @@ -29,8 +29,9 @@ const IconLocaleSwitcher = () => { return ( <>
{ const currentTarget = e.currentTarget; @@ -67,8 +69,9 @@ const IconLocaleSwitcher = () => { {locales!.map((loc) => (