Showing
2 changed files
with
2 additions
and
7 deletions
1 | -import React, { useCallback, useContext, useEffect, useState } from 'react'; | 1 | +import React from 'react'; |
2 | -import { useHistory, useLocation } from 'react-router'; | 2 | +import { RoomData } from './types'; |
3 | -import SocketContext from '../../contexts/SocketContext'; | ||
4 | -import { MessageResponse, MessageType, RawMessage } from '../common/types'; | ||
5 | -import { RoomData, UpdateRoomUser } from './types'; | ||
6 | 3 | ||
7 | interface RoomInfoProps { | 4 | interface RoomInfoProps { |
8 | roomData: RoomData; | 5 | roomData: RoomData; | ... | ... |
1 | import React from 'react'; | 1 | import React from 'react'; |
2 | -import SocketContext from '../../contexts/SocketContext'; | ||
3 | import { Timer } from './Timer'; | 2 | import { Timer } from './Timer'; |
4 | -import { RoundData } from './types'; | ||
5 | 3 | ||
6 | interface RoundInfoProps { | 4 | interface RoundInfoProps { |
7 | round: number; | 5 | round: number; | ... | ... |
-
Please register or login to post a comment