Skip to content

Commit

Permalink
#58 만들었던 훅은 리모트 경로 문제로 커밋돌리고 다시 정리하고 코드 작성합니다
Browse files Browse the repository at this point in the history
  • Loading branch information
0gunkim committed Mar 5, 2023
1 parent 9e432d1 commit 2711b93
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/components/filter_box/category/CreateAt.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useRef } from 'react';
import { today } from 'redux/slice/filterSlice';
import { useAppDispatch } from 'util/hooks/selectorDispatch';
import { useAppDispatch } from 'util/reduxType/type';
import { Calendar } from './calenda_components/Calendar';
import { CalendarButtonBox } from './calenda_components/CalendarButtonBox';
import styles from './categoryStyles.module.css';
Expand Down
6 changes: 3 additions & 3 deletions src/components/filter_box/category/Medium.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { FButton } from '../shared/FButton';
import { IButton } from '../shared/IButton';
import { FInput } from '../shared/FInput';
import { FButton } from '../elem/FButton';
import { IButton } from '../elem/IButton';
import { FInput } from '../elem/FInput';
import styles from './categoryStyles.module.css';
export const Medium = () => {
const mockKeyWord = [
Expand Down
6 changes: 3 additions & 3 deletions src/components/filter_box/category/Source.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { FButton } from 'components/filter_box/shared/FButton';
import { FInput } from 'components/filter_box/shared/FInput';
import { IButton } from 'components/filter_box/shared/IButton';
import { FButton } from 'components/filter_box/elem/FButton';
import { FInput } from 'components/filter_box/elem/FInput';
import { IButton } from 'components/filter_box/elem/IButton';
import styles from './categoryStyles.module.css';
export const Source = () => {
const mockKeyWord = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { FormEvent, useRef } from 'react';
import { useAppSelector, useAppDispatch } from 'util/hooks/selectorDispatch';
import { useAppSelector, useAppDispatch } from 'util/reduxType/type';
import { today } from 'redux/slice/filterSlice';

export const Calendar = () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useRef } from 'react';
import { useAppDispatch } from 'util/hooks/selectorDispatch';
import { useAppDispatch } from 'util/reduxType/type';
import { today } from 'redux/slice/filterSlice';
import styles from './calendarStyles.module.css';
export const CalendarButtonBox = () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { FButton } from 'components/filter_box/shared/FButton';
import { FInput } from 'components/filter_box/shared/FInput';
import { FButton } from 'components/filter_box/elem/FButton';
import { FInput } from 'components/filter_box/elem/FInput';
import React from 'react';

export const KeyWordInput = () => {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/pages/CreatePage.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { CreateUtm } from 'components/create_component/CreateUtm';
import { CreateUtm } from 'components/create_components/CreateUtm';
export default function CreatePage() {
return <CreateUtm />;
}
9 changes: 9 additions & 0 deletions src/util/hooks/useAsync.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { useQuery } from '@tanstack/react-query';
// import { get_utm } from 'async/api/getApi';

// export const useGetUtm = () => {
// return useQuery(['get_utm'], async () => {
// const { data } = await
// return data;
// });
// };
File renamed without changes.

0 comments on commit 2711b93

Please sign in to comment.