Skip to content

Commit

Permalink
Merge pull request #107 from softeerbootcamp4th/perf
Browse files Browse the repository at this point in the history
[Perf] 공지 데이터를 채팅 리스트 마지막 데이터에서 가져오기
  • Loading branch information
nim-od authored Aug 21, 2024
2 parents a6569a0 + 999e913 commit 28e0744
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file modified packages/user/public/images/hero/background.webp
Binary file not shown.
Binary file modified packages/user/public/images/hero/casper/lighting.webp
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default function RacingTitle() {
return (
<>
<h2>
<h2 className="h-[71px]">
버튼을 연타해 승리를 <strong>CHARGE</strong>하세요!
</h2>
<div className="mb-5 flex items-center gap-3">
Expand Down
2 changes: 1 addition & 1 deletion packages/user/src/hooks/socket/useChatSocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default function useChatSocket() {
(data: unknown) => {
const parsedData = Array.isArray(data) ? [...data] : [] as ChatProps[];
if (parsedData.length > 0 && parsedData[0]?.type === 'n') {
storeNotice(parsedData.shift());
storeNotice(parsedData.pop());
}
setChatList(parsedData);
},
Expand Down

0 comments on commit 28e0744

Please sign in to comment.