diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 9f1645f..44e94d8 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -7,7 +7,7 @@ permissions: write-all jobs: deploy: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest env: working-directory: ./frontend steps: @@ -16,7 +16,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v2.1.2 with: - node-version: '12.x' + node-version: "12.x" - name: Cache dependencies uses: actions/cache@v2 @@ -25,7 +25,6 @@ jobs: key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node- - - name: Install dependencies run: npm install working-directory: ${{ env.working-directory }} diff --git a/frontend/src/atom/textAtom.ts b/frontend/src/atom/textAtom.ts index a233a21..1163059 100644 --- a/frontend/src/atom/textAtom.ts +++ b/frontend/src/atom/textAtom.ts @@ -11,7 +11,6 @@ export type TextSizeType = | 'tablet:text-[34px] text-[21px]' | 'tablet:text-[26px] text-[16px]' | 'tablet:text-[22px] text-[14px]'; - export type TextType = { id: number; content: string; diff --git a/frontend/src/components/ImageUploader.tsx b/frontend/src/components/ImageUploader.tsx index 467ad6b..f278d3a 100644 --- a/frontend/src/components/ImageUploader.tsx +++ b/frontend/src/components/ImageUploader.tsx @@ -1,7 +1,6 @@ import { Icon } from '@iconify/react'; import { useRecoilState, useSetRecoilState } from 'recoil'; import { isImageBright, previewImage } from '../atom'; -import heic2jpeg from 'heic2any'; import heic2any from 'heic2any'; const ImageUploader = () => { diff --git a/frontend/src/components/text/TextLayoutGroup.tsx b/frontend/src/components/text/TextLayoutGroup.tsx index 41f75b1..81dd341 100644 --- a/frontend/src/components/text/TextLayoutGroup.tsx +++ b/frontend/src/components/text/TextLayoutGroup.tsx @@ -16,7 +16,7 @@ const TextLayoutGroup = () => { return (