Skip to content

Commit

Permalink
[fix] boostcampwm-2022#85 1:1 채팅을 위한 전역상태 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
JJongBin committed Dec 6, 2022
1 parent 3ad34e4 commit ef32f96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/store/atom/chatting.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { atom } from 'recoil';
import { v1 } from 'uuid';

export const chattingState = atom<string>({
export const chattingState = atom({
key: `chattingState/${v1()}`,

default: '',
default: { id: '', nickname: '' },
});

0 comments on commit ef32f96

Please sign in to comment.