Skip to content
Snippets Groups Projects
Commit 0ce9259c authored by Minseo Lee's avatar Minseo Lee
Browse files

fix: adminsocket leak

parent 0108d0d7
Branches
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ const AdminPage: GFC = ({ connector }) => {
return;
}
adminSocket = new AdminSocket();
if (!adminSocket) adminSocket = new AdminSocket();
adminSocket.onOrder((e) => {
setOrderList((prev) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment