Skip to content

Commit

Permalink
use router 종속성 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyunkyu Lee committed Dec 16, 2023
1 parent 9ce760a commit 6736bd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/frontend/src/hooks/useSocket.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { useEffect } from 'react';
import { useRouter } from 'next/router';
import useToast from '@/components/common/useToast';
import { messageType } from '@/components/dm/message/MessageContent';
import { getSocket } from '@/lib/Socket';
import { useRouter } from 'next/navigation';
import { useEffect } from 'react';

export const useSocket = (
type: messageType,
Expand Down

0 comments on commit 6736bd1

Please sign in to comment.