Skip to content

Commit

Permalink
fix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinho1011 committed Feb 7, 2024
1 parent 3c50d17 commit e7aaad0
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
5 changes: 3 additions & 2 deletions src/components/TopicCreate/ImageInputComponent.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import React, { useState } from 'react';
import { set, useFormContext } from 'react-hook-form';
import { INPUT_TYPE } from 'src/constants/form';
import { useFormContext } from 'react-hook-form';

import Text from '@components/commons/Text/Text';
import useModal from '@hooks/useModal/useModal';

import { INPUT_TYPE } from '@constants/form';

import { colors } from '@styles/theme';

import { CloseIcon, DeleteIcon } from '@icons/index';
Expand Down
3 changes: 2 additions & 1 deletion src/components/TopicCreate/TopicCreateImageInput.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import React, { useState, useEffect } from 'react';
import { useFormContext } from 'react-hook-form';
import { CONFIG, INPUT_TYPE } from 'src/constants/form';

import { Col, Row } from '@components/commons/Flex/Flex';
import Text from '@components/commons/Text/Text';

import { INPUT_TYPE } from '@constants/form';

import { colors } from '@styles/theme';

import { RotateIcon } from '@icons/index';
Expand Down
3 changes: 2 additions & 1 deletion src/routes/Topic/Create/BSide/BTopicCreate.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import React, { useEffect, useState } from 'react';
import { FormProvider, useForm, useWatch } from 'react-hook-form';
import { useSearchParams } from 'react-router-dom';
import { INPUT_TYPE } from 'src/constants/form';

import DefaultButton from '@components/commons/Button/DefaultButton';

import { INPUT_TYPE } from '@constants/form';

import {
Container,
PageController,
Expand Down
3 changes: 2 additions & 1 deletion src/routes/Topic/Create/BSide/BTopicCreateStep1.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import React from 'react';
import { useFormContext } from 'react-hook-form';
import { useNavigate } from 'react-router-dom';
import { CONFIG, INPUT_TYPE } from 'src/constants/form';

import { Col } from '@components/commons/Flex/Flex';
import Text from '@components/commons/Text/Text';
import TextInput from '@components/commons/TextInput/TextInput';
import { theme2, theme3 } from '@components/commons/TextInput/theme';

import { INPUT_TYPE, CONFIG } from '@constants/form';

import { colors } from '@styles/theme';

import { CategoryChip, CategoryChipContainer, Container } from './BTopicCreateStep1.styles';
Expand Down
5 changes: 3 additions & 2 deletions src/routes/Topic/Create/BSide/BTopicCreateStep2.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import React, { useEffect, useState } from 'react';
import { useFormContext } from 'react-hook-form';
import { useNavigate } from 'react-router-dom';
import { CONFIG, INPUT_TYPE } from 'src/constants/form';
import { TOPIC_DEADLINES } from 'src/constants/topic';

import { Col, Row } from '@components/commons/Flex/Flex';
import Text from '@components/commons/Text/Text';
import TopicCreateImageInput from '@components/TopicCreate/TopicCreateImageInput';
import TopicCreateTextInput from '@components/TopicCreate/TopicCreateTextInput';

import { INPUT_TYPE, CONFIG } from '@constants/form';
import { TOPIC_DEADLINES } from '@constants/topic';

import { colors } from '@styles/theme';

import {
Expand Down

0 comments on commit e7aaad0

Please sign in to comment.