diff --git a/.eslintrc.js b/.eslintrc.js index d66373e..62dd04f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -6,12 +6,7 @@ module.exports = { globals: { JSX: true, }, - extends: [ - 'standard-with-typescript', - 'eslint:recommended', - 'plugin:prettier/recommended', - 'next/core-web-vitals' - ], + extends: ['standard-with-typescript', 'eslint:recommended', 'plugin:prettier/recommended'], parserOptions: { ecmaVersion: 'latest', sourceType: 'module', @@ -21,6 +16,6 @@ module.exports = { '@typescript-eslint/strict-boolean-expressions': 'off', 'prettier/prettier': ['error', { endOfLine: 'auto' }], '@typescript-eslint/explicit-function-return-type': 'off', - '@typescript-eslint/no-floating-promises': 'off' + '@typescript-eslint/no-floating-promises': 'off', }, }; diff --git a/package.json b/package.json index a48a124..b5eca10 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", "@tanstack/react-query": "^5.18.1", + "@tanstack/react-query-devtools": "^5.24.1", "@typescript-eslint/parser": "^6.19.0", "axios": "^1.6.5", "dayjs": "^1.11.10", diff --git a/src/components/atoms/BorderTab.tsx b/src/components/atoms/BorderTab.tsx index 26bf1a4..1c156c1 100644 --- a/src/components/atoms/BorderTab.tsx +++ b/src/components/atoms/BorderTab.tsx @@ -7,12 +7,7 @@ interface BorderTabProps { clickHandler?: () => void; className?: string; } -const BorderTab: React.FC = ({ - tabName, - className, - currentTabName, - handleTabNameChange, -}) => { +const BorderTab: React.FC = ({ tabName, className, currentTabName, handleTabNameChange }) => { return (
-> = ({ text, className, onClick, ...props }) => { +const Button: React.FC> = ({ + text, + className, + onClick, + ...props +}) => { return ( - ); diff --git a/src/components/atoms/CheckBox.tsx b/src/components/atoms/CheckBox.tsx index 9f8e388..f212ca4 100644 --- a/src/components/atoms/CheckBox.tsx +++ b/src/components/atoms/CheckBox.tsx @@ -1,12 +1,8 @@ import { CheckIcon } from '@/assets/icons'; import React from 'react'; -const CheckBox: React.FC<{ active: boolean; onClick: () => void }> = ({ - active = false, - onClick, -}) => { - const commonStyle = - 'flex justify-center items-center w-[20px] h-[20px] rounded-full'; +const CheckBox: React.FC<{ active: boolean; onClick: () => void }> = ({ active = false, onClick }) => { + const commonStyle = 'flex justify-center items-center w-[20px] h-[20px] rounded-full'; const buttonClassName = `${commonStyle} ${active ? 'bg-primary2' : 'border border-gray5'}`; return (