-
Notifications
You must be signed in to change notification settings - Fork 6
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 #386 from js43o/enhance-chatting-2
[Feat] 모각코 참석/참석 취소 시 채팅 입장/퇴장 알림 메시지 전송
- Loading branch information
Showing
11 changed files
with
237 additions
and
108 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
18 changes: 0 additions & 18 deletions
18
app/frontend/src/components/Sidebar/Contents/Chatting/NotificationItem.css.ts
This file was deleted.
Oops, something went wrong.
14 changes: 11 additions & 3 deletions
14
app/frontend/src/components/Sidebar/Contents/Chatting/NotificationItem.tsx
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 |
---|---|---|
@@ -1,5 +1,13 @@ | ||
import * as styles from './NotificationItem.css'; | ||
import { memo } from 'react'; | ||
|
||
export function NotificationItem() { | ||
return <div className={styles.container} />; | ||
import * as styles from './ChatItem.css'; | ||
|
||
type NotificationItemProps = { | ||
contents: string; | ||
}; | ||
|
||
function NotificationItem({ contents }: NotificationItemProps) { | ||
return <div className={styles.notification}>{contents}</div>; | ||
} | ||
|
||
export const MemorizedNotificationItem = memo(NotificationItem); |
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
Oops, something went wrong.