Clean up imports

This commit is contained in:
Mitchell McCaffrey
2021-01-02 09:13:26 +11:00
parent a146495326
commit f24156c44c
4 changed files with 4 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ import { useToasts } from "react-toast-notifications";
// Load session for auto complete
// eslint-disable-next-line no-unused-vars
import Session from "./Session";
import { isStreamStopped, omit, difference } from "../helpers/shared";
import { isStreamStopped, omit } from "../helpers/shared";
import PartyContext from "../contexts/PartyContext";
@@ -73,7 +73,7 @@ function NetworkedParty({ gameId, session }) {
}
joinedPlayersRef.current = [];
}
}, [partyState]);
}, [partyState, addToast]);
useEffect(() => {
function handlePlayerJoined(sessionId) {