update demo-fast-food-app,

This commit is contained in:
louiscklaw
2025-06-08 19:06:25 +08:00
parent c732d89c34
commit b515337acc
2 changed files with 11 additions and 0 deletions

View File

@@ -2,3 +2,8 @@ declare module '*.module.css' {
const classes: { readonly [key: string]: string };
export default classes;
}
declare module '*.module.scss' {
const classes: { readonly [key: string]: string };
export default classes;
}

View File

@@ -56,6 +56,12 @@ const Home = () => {
<IonToolbar>
<IonTitle>Popular</IonTitle>
{/*
const router = useIonRouter();
function handleBackClick() {
router.goBack();
}
*/}
<IonButtons slot="start">
<IonButton onClick={() => handleBackClick()}>
<IonIcon icon={chevronBackOutline} color="primary" />