diff --git a/src/components/Detail.tsx b/src/components/Detail.tsx index 371874c..7b4474a 100644 --- a/src/components/Detail.tsx +++ b/src/components/Detail.tsx @@ -17,7 +17,7 @@ export function useDetail() { return (
-

+

{activity?.name}

{Array.isArray(activity?.description) && diff --git a/src/components/InfoWindow.tsx b/src/components/InfoWindow.tsx index 15b88e8..8fc695d 100644 --- a/src/components/InfoWindow.tsx +++ b/src/components/InfoWindow.tsx @@ -1,4 +1,4 @@ -import React from "react"; +import React, { useState } from "react"; interface Props { title: string; @@ -8,20 +8,19 @@ interface Props { export function InfoWindow({ title, msg, onClose }: Props) { return ( - <> -
-
-
-
-

{title}

- {/* */} -
-

{msg}

+
+
+
+
+
+

{title}

+ {/* */}
+

{msg}

- +
); } diff --git a/src/components/NonTokenModalContent.tsx b/src/components/NonTokenModalContent.tsx index 7b8a48b..8f56d9f 100644 --- a/src/components/NonTokenModalContent.tsx +++ b/src/components/NonTokenModalContent.tsx @@ -34,7 +34,7 @@ const NonTokenModalContent = () => {
-

+

請檢查 OPass 是否已成功報到,或透過下列方式進入遊戲。

@@ -45,7 +45,7 @@ const NonTokenModalContent = () => {
-
手動輸入票券代碼
+
手動輸入票券代碼
@@ -56,7 +56,7 @@ const NonTokenModalContent = () => {
-
掃描票券 QR Code
+
掃描票券 QR Code