Clean up imports
This commit is contained in:
parent
a146495326
commit
f24156c44c
@ -18,7 +18,6 @@
|
|||||||
"dexie": "^3.0.3",
|
"dexie": "^3.0.3",
|
||||||
"err-code": "^2.0.3",
|
"err-code": "^2.0.3",
|
||||||
"fake-indexeddb": "^3.1.2",
|
"fake-indexeddb": "^3.1.2",
|
||||||
"fast-deep-equal": "^3.1.3",
|
|
||||||
"fuse.js": "^6.4.1",
|
"fuse.js": "^6.4.1",
|
||||||
"interactjs": "^1.9.7",
|
"interactjs": "^1.9.7",
|
||||||
"konva": "^7.1.8",
|
"konva": "^7.1.8",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import React, { useEffect, useContext, useState } from "react";
|
import React, { useEffect, useContext } from "react";
|
||||||
import compare from "fast-deep-equal";
|
|
||||||
|
|
||||||
import useNetworkedState from "../helpers/useNetworkedState";
|
import useNetworkedState from "../helpers/useNetworkedState";
|
||||||
import DatabaseContext from "./DatabaseContext";
|
import DatabaseContext from "./DatabaseContext";
|
||||||
|
@ -10,7 +10,7 @@ import { useToasts } from "react-toast-notifications";
|
|||||||
// Load session for auto complete
|
// Load session for auto complete
|
||||||
// eslint-disable-next-line no-unused-vars
|
// eslint-disable-next-line no-unused-vars
|
||||||
import Session from "./Session";
|
import Session from "./Session";
|
||||||
import { isStreamStopped, omit, difference } from "../helpers/shared";
|
import { isStreamStopped, omit } from "../helpers/shared";
|
||||||
|
|
||||||
import PartyContext from "../contexts/PartyContext";
|
import PartyContext from "../contexts/PartyContext";
|
||||||
|
|
||||||
@ -73,7 +73,7 @@ function NetworkedParty({ gameId, session }) {
|
|||||||
}
|
}
|
||||||
joinedPlayersRef.current = [];
|
joinedPlayersRef.current = [];
|
||||||
}
|
}
|
||||||
}, [partyState]);
|
}, [partyState, addToast]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
function handlePlayerJoined(sessionId) {
|
function handlePlayerJoined(sessionId) {
|
||||||
|
@ -5451,7 +5451,7 @@ fake-indexeddb@^3.1.2:
|
|||||||
realistic-structured-clone "^2.0.1"
|
realistic-structured-clone "^2.0.1"
|
||||||
setimmediate "^1.0.5"
|
setimmediate "^1.0.5"
|
||||||
|
|
||||||
fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
|
fast-deep-equal@^3.1.1:
|
||||||
version "3.1.3"
|
version "3.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
|
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
|
||||||
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
|
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
|
||||||
|
Loading…
x
Reference in New Issue
Block a user