-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from SWM-FIRE/FIRE-329-fe-소켓으로-채팅-주고받음
FIRE-329 fix entrance message
- Loading branch information
Showing
3 changed files
with
38 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// import create from 'zustand'; | ||
// import User from '../interface/user.interface'; | ||
|
||
// interface UserInterface { | ||
// uid: User; | ||
// } | ||
|
||
// interface connectUsers { | ||
// connectedUsers: UserInterface[]; | ||
// setUsers: (_users: UserInterface[]) => void; | ||
// appendUser: (_user: UserInterface) => void; | ||
// removeUser: (_user: string) => void; | ||
// } | ||
|
||
// const connectUsersStore = create<connectUsers>((set) => ({ | ||
// connectedUsers: [], | ||
// setUsers: (by) => set(() => ({ connectedUsers: by })), | ||
// appendUser: (by) => | ||
// set((state) => ({ connectedUsers: [...state.connectedUsers, by] })), | ||
// removeUser: (by) => | ||
// set((state) => ({ | ||
// connectedUsers: state.connectedUsers.filter( | ||
// (user) => user.socketId !== by, | ||
// ), | ||
// })), | ||
// })); | ||
|
||
// export default connectUsersStore; |
fde8254
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@haryung-lee is attempting to deploy a commit to a Personal Account on Vercel that is not owned by them.
In order for the commit to be deployed, @haryung-lee must be granted access to the connected Vercel project.
If you're the owner of the Personal Account, transfer the project to a Vercel Team and start collaborating, or learn more.