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) => (