From b515337acc45c45961c399713bd2a3248837cbe5 Mon Sep 17 00:00:00 2001 From: louiscklaw Date: Sun, 8 Jun 2025 19:06:25 +0800 Subject: [PATCH] update demo-fast-food-app, --- 03_source/mobile/src/pages/DemoFastFoodApp/module.d.ts | 5 +++++ 03_source/mobile/src/pages/DemoFastFoodApp/pages/Home.tsx | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/03_source/mobile/src/pages/DemoFastFoodApp/module.d.ts b/03_source/mobile/src/pages/DemoFastFoodApp/module.d.ts index d774364..4af7be7 100644 --- a/03_source/mobile/src/pages/DemoFastFoodApp/module.d.ts +++ b/03_source/mobile/src/pages/DemoFastFoodApp/module.d.ts @@ -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; +} diff --git a/03_source/mobile/src/pages/DemoFastFoodApp/pages/Home.tsx b/03_source/mobile/src/pages/DemoFastFoodApp/pages/Home.tsx index a4f448b..e4d306a 100644 --- a/03_source/mobile/src/pages/DemoFastFoodApp/pages/Home.tsx +++ b/03_source/mobile/src/pages/DemoFastFoodApp/pages/Home.tsx @@ -56,6 +56,12 @@ const Home = () => { Popular + {/* + const router = useIonRouter(); + function handleBackClick() { + router.goBack(); + } + */} handleBackClick()}>