From 13a3c2dd0209aa826327dd0900ec47d996800eba Mon Sep 17 00:00:00 2001 From: Rajarshee Chatterjee Date: Mon, 15 Jul 2024 11:09:29 +0530 Subject: [PATCH] chore: Update Workflows [skip ci] --- .github/workflows/prettier.yml | 2 +- src/App.css | 2 +- src/components/accordions/ParseNovel/index.tsx | 8 +------- src/components/accordions/SearchNovels/index.tsx | 2 +- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 348371e..256e390 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -21,4 +21,4 @@ jobs: run: npm ci - name: Prettier - run: npx prettier --check . + run: npx prettier --check "./src/**/*.{ts,tsx,js,css}" diff --git a/src/App.css b/src/App.css index 846f1b7..b2f04c4 100644 --- a/src/App.css +++ b/src/App.css @@ -43,4 +43,4 @@ button:focus { outline: none !important; -} \ No newline at end of file +} diff --git a/src/components/accordions/ParseNovel/index.tsx b/src/components/accordions/ParseNovel/index.tsx index a52c569..8b004c6 100644 --- a/src/components/accordions/ParseNovel/index.tsx +++ b/src/components/accordions/ParseNovel/index.tsx @@ -1,10 +1,4 @@ -import { - Box, - Button, - Pagination, - Stack, - TextField, -} from '@mui/material'; +import { Box, Button, Pagination, Stack, TextField } from '@mui/material'; import React, { useState } from 'react'; import AccordionContainer from '../components/AccordionContainer'; import { Plugin } from '@typings/plugin'; diff --git a/src/components/accordions/SearchNovels/index.tsx b/src/components/accordions/SearchNovels/index.tsx index c2cb43c..8805fdf 100644 --- a/src/components/accordions/SearchNovels/index.tsx +++ b/src/components/accordions/SearchNovels/index.tsx @@ -12,7 +12,7 @@ export default function SearchNovels() { (state: AppState) => state.plugin.selected, ); const [searchTerm, setSearchTerm] = useState(''); - const [page,] = useState(1); + const [page] = useState(1); const [plugin, setPlugin] = useState(); const [novels, setNovels] = useState([]); const [loading, setLoading] = useState(false);