= ({
/>
-
- START LIVE ACTIVITY
-
-
- {`UPDATE → ${nextStatus.status.replace('_', ' ').toUpperCase()}`}
-
- onEnd(activityId)}
- data-testid="end_live_activity_button"
- >
- END LIVE ACTIVITY
-
+
+
+ START ACTIVITY
+
+
+ {`UPDATE → ${nextStatus.status.replaceAll('_', ' ').toUpperCase()}`}
+
+ onEnd(activityId)}
+ data-testid="end_live_activity_button"
+ >
+ END ACTIVITY
+
+
{!hasApiKey && (
Set VITE_ONESIGNAL_API_KEY in .env to enable update & end
)}
diff --git a/examples/demo/src/components/sections/LocationSection.tsx b/examples/demo/src/components/sections/LocationSection.tsx
index 1699261..8891c11 100644
--- a/examples/demo/src/components/sections/LocationSection.tsx
+++ b/examples/demo/src/components/sections/LocationSection.tsx
@@ -1,6 +1,7 @@
import type { FC } from 'react';
import ActionButton from '../ActionButton';
+import ButtonGrid from '../ButtonGrid';
import SectionCard from '../SectionCard';
import { useSnackbar } from '../ToastProvider';
import ToggleRow from '../ToggleRow';
@@ -36,16 +37,18 @@ const LocationSection: FC = ({
onToggle={onToggleLocationShared}
testId="location_shared_toggle"
/>
-
- PROMPT LOCATION
-
- void handleCheckLocation()}
- data-testid="check_location_button"
- >
- CHECK LOCATION SHARED
-
+
+
+ PROMPT LOCATION
+
+ void handleCheckLocation()}
+ data-testid="check_location_button"
+ >
+ CHECK LOCATION
+
+