diff --git a/src/PartyContext.tsx b/src/PartyContext.tsx index daf8eae..1d0f790 100644 --- a/src/PartyContext.tsx +++ b/src/PartyContext.tsx @@ -36,6 +36,8 @@ export type APIEndPoint = { partyName: string, token: string }; // Adapt this type to your desires export type SelfStatusExtraData = { + /* Example type: */ + /* plusone: string; */ }; export const PartyContextProvider: React.FC<{ children: React.ReactNode }> = (props) => { diff --git a/src/PartyPage.tsx b/src/PartyPage.tsx index 36d53ea..0ffb129 100644 --- a/src/PartyPage.tsx +++ b/src/PartyPage.tsx @@ -26,5 +26,27 @@ export const PartyPage: React.FC = () => {
+ {/* + Example usage of extraData: +