Skip to content

Commit

Permalink
🎨 import문을 간결하게 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
js43o committed Nov 22, 2023
1 parent 26b24a5 commit 2c0e35d
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 11 deletions.
3 changes: 2 additions & 1 deletion app/frontend/src/components/Mogaco/MogacoList.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { MogacoItem } from '@/components';

import * as styles from './MogacoList.css';
import { MogacoItem } from '../commons/MogacoItem';

export function MogacoList() {
const MOGACO_ITEM = [
Expand Down
3 changes: 2 additions & 1 deletion app/frontend/src/components/Mogaco/MogacoListHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Button } from '@/components';

import * as styles from './MogacoListHeader.css';
import { Button } from '../commons/Button';

export function MogacoListHeader() {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Button } from '@/components/commons/Button';
import { Button } from '@/components';

type DetailHeaderButtonsProps = {
state: 'not-participated' | 'participated' | 'hosted';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Button } from '@/components/commons/Button';
import { Textarea } from '@/components/commons/Input/Textarea';
import { Button, Textarea } from '@/components';

import * as styles from './index.css';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { ReactComponent as People } from '@/assets/icons/people.svg';
import { Popover, UserChip } from '@/components';
import { vars } from '@/styles';
import { ChatUser } from '@/types';

import * as styles from './index.css';
import { Popover } from '../Popover';
import { UserChip } from '../UserChip';

type ChattingHeaderProps = {
title: string;
Expand Down
2 changes: 1 addition & 1 deletion app/frontend/src/components/commons/Chatting/TalkItem.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import dayjs from 'dayjs';

import { UserChip } from '@/components';
import { Talk } from '@/types';

import * as styles from './TalkItem.css';
import { UserChip } from '../UserChip';

type TalkItemProps = {
talk: Talk;
Expand Down
3 changes: 2 additions & 1 deletion app/frontend/src/components/commons/Layout/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Outlet } from 'react-router-dom';

import { Header } from '@/components';

import * as styles from './index.css';
import { Header } from '../Header';

export function Layout() {
return (
Expand Down
3 changes: 2 additions & 1 deletion app/frontend/src/components/commons/Modal/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Button } from '@/components';

import * as styles from './index.css';
import { Button } from '../Button';

type FooterProps = {
buttonType: 'single' | 'double';
Expand Down
2 changes: 1 addition & 1 deletion app/frontend/src/components/commons/Modal/InputModal.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Input } from '@/components/commons/Input';
import { Input } from '@/components';
import { sansRegular16 } from '@/styles/font.css';

import { Footer } from './Footer';
Expand Down
1 change: 1 addition & 0 deletions app/frontend/src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export * from './commons/Button';
export * from './commons/Chatting';
export * from './commons/Header';
export * from './commons/Input';
export * from './commons/Input/Textarea';
export * from './commons/Label';
export * from './commons/Layout';
export * from './commons/MogacoItem';
Expand Down

0 comments on commit 2c0e35d

Please sign in to comment.