From e3bba5d78e760119829d4980b358d18109956de1 Mon Sep 17 00:00:00 2001 From: Dominic Zimmer Date: Fri, 21 Jul 2023 10:23:27 +0200 Subject: [PATCH] Fix pipeline --- src/PartyPage.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/PartyPage.tsx b/src/PartyPage.tsx index da3bca4..169cdd5 100644 --- a/src/PartyPage.tsx +++ b/src/PartyPage.tsx @@ -1,11 +1,10 @@ - -import React, { useContext, useMemo } from 'react'; +import React, { useContext } from 'react'; +import { PartyContext, SelfStatus } from './PartyContext'; import './PartyPage.css'; -import { PartyContext, PartyStatus, SelfStatus } from './PartyContext'; import { modifySelfRequest } from './partyApi'; export const PartyPage: React.FC = () => { - const {party, self: me, endpoint, refresh} = useContext(PartyContext); + const {self: me, endpoint, refresh} = useContext(PartyContext); const setComing = async (value: SelfStatus["coming"]) => { await modifySelfRequest(endpoint, { coming: value }); await refresh();