Skip to content

Commit

Permalink
fix(merge): conflict_resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
racgoo committed Aug 21, 2024
1 parent 4c6b676 commit c7d8ebd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 3 additions & 3 deletions packages/admin/src/components/chat/RealTimeChatting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import { ChatList } from '@softeer/common/components';
import { useRef } from 'react';
import { AdminSocketReturnType } from 'src/hooks/socket/index.ts';
import { useAlert } from 'src/store/provider/AlertProvider.tsx';
import { Button } from '../ui/button.js';
import { Input } from '../ui/input.js';
import { Button } from '../ui/button.tsx';
import { Input } from '../ui/input.tsx';
import Chat from './Chat.js';

/** 실시간 기대평 섹션 */

function RealTimeChatting({
chatSocket: { messages, onBlock, onNotice, notice, onRequestMessageHistory },
chatSocket: { messages, onBlock, onNotice, notice },
}: Pick<AdminSocketReturnType, 'chatSocket'>) {
const { openAlert, addAlertCallback } = useAlert();
const noticeInputRef = useRef<HTMLInputElement>(null);
Expand Down
6 changes: 0 additions & 6 deletions packages/common/src/constants/socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,9 @@ export const CHAT_SOCKET_ENDPOINTS = {
PUBLISH_BLOCK: '/app/chat.sendBlock',
SUBSCRIBE_NOTICE: '/topic/notice',
PUBLISH_NOTICE: '/app/chat.sendNotice',
<<<<<<< HEAD
SUBSCRIBE_MESSAGE_HISTORY: '/user/queue/chatHistory',
PUBLISH_MESSAGE_HISTORY: '/app/chat.getHistory',
=======
SUBSCRIBE_MESSAGE_HISTORY: '/user/queue/chatHistory',
PUBLISH_MESSAGE_HISTORY: '/app/chat.getHistory',
SUBSCRIBE_ERROR: '/user/queue/errors',

>>>>>>> main
} as const;

export const RACING_SOCKET_ENDPOINTS = {
Expand Down

0 comments on commit c7d8ebd

Please sign in to comment.