Skip to content

Commit

Permalink
Rename page
Browse files Browse the repository at this point in the history
  • Loading branch information
matthova committed Mar 5, 2024
1 parent f85465d commit 7b331d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions examples/iframe-playground/packages/client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import * as S from './AppStyles';
import SafeAreas from './pages/SafeAreas';
import ThermalStates from './pages/ThermalStates';
import ActivityChannel from './pages/ActivityChannel';
import Instance from './pages/Instance';
import ActivityParticipants from './pages/ActivityParticipants';

// Add contexts here
export default function App(): React.ReactElement {
Expand Down Expand Up @@ -161,10 +161,10 @@ const routes: Record<string, AppRoute> = {
name: 'Window Size Tracker',
component: WindowSizeTracker,
},
instance: {
path: '/instance',
name: 'Instance Debug',
component: Instance,
activityParticipants: {
path: '/activity-participants',
name: 'Activity Participants',
component: ActivityParticipants,
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react';
import discordSdk from '../discordSdk';
import {EventPayloadData} from '@discord/embedded-app-sdk';

export default function Instance() {
export default function ActivityParticipants() {
const [participants, setParticipants] = React.useState<
EventPayloadData<'ACTIVITY_INSTANCE_PARTICIPANTS_UPDATE'>['participants']
>([]);
Expand Down

0 comments on commit 7b331d1

Please sign in to comment.