Fix pipeline
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dominic Zimmer 2023-07-21 10:23:27 +02:00
parent df173884d4
commit e3bba5d78e

View File

@ -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();