Skip to content

Commit

Permalink
Merge pull request #57 from MOVIEJOJO7/Feature/#55
Browse files Browse the repository at this point in the history
FIx: 채팅 빌드 에러 해결
  • Loading branch information
JitHoon authored Nov 15, 2023
2 parents 58e427f + dffce09 commit bd5a8cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/chat/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import ChatRoom from '@/Components/Chat/ChatRoom';
const Chat = ({ params }: { params: { id: string } }) => {
const chatId = params.id;
const query = useSearchParams();
const privateValue = query.get('isPrivate') as string;
const privateValue = query?.get('isPrivate') as string;
const accessToken = getCookie('accessToken');

const socket = io(`https://fastcampus-chat.net/chat?chatId=${chatId}`, {
Expand Down

0 comments on commit bd5a8cd

Please sign in to comment.