Skip to content

Commit

Permalink
id --> eventId in checkin route
Browse files Browse the repository at this point in the history
  • Loading branch information
NwinNwin committed Jan 22, 2024
1 parent 3560bea commit ceab857
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const App = () => {
<Route path="/volunteer-registration" element={<DummyVolunteerRegistrationForm />} />

{/* Rayan and Emmy */}
<Route path="/checkin/:id" element={<DummyCheckin />} />
<Route path="/checkin/:eventId" element={<DummyCheckin />} />

{/* Phillip and Katy */}
<Route path="/stats" element={<DummyStatsPage />} />
Expand Down
4 changes: 2 additions & 2 deletions src/pages/DummyCheckin.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { Text } from '@chakra-ui/react';
import { useParams } from 'react-router-dom';

const DummyCheckin = () => {
const { id } = useParams();
return <Text>Placeholder for Checkin Page id {id}</Text>;
const { eventId } = useParams();
return <Text>Placeholder for Checkin Page id {eventId}</Text>;
};

export default DummyCheckin;

0 comments on commit ceab857

Please sign in to comment.