Skip to content

Commit

Permalink
fix : alert reconnection
Browse files Browse the repository at this point in the history
  • Loading branch information
flowersayo committed May 8, 2023
1 parent 0250728 commit 2690109
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion client/src/pages/MobileLandingScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ function LoginBox() {
.catch(function (error) {
console.log(error);
});
createWebSocketConnection(name); // Socket Connection 생성
};
return (
<BgBox width="80%" height="30vh" color="white">
Expand Down
2 changes: 1 addition & 1 deletion client/src/utils/WebSocketProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const WebsocketProvider = ({ children }) => {
const [isReady, setIsReady] = useState(false);
const [res, setRes] = useState(null);

const mode = useContext(Language);
const mode = useContext(LanguageContext);

const navigate = useNavigate();
const ws = useRef(null);
Expand Down

0 comments on commit 2690109

Please sign in to comment.