mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-13 06:35:24 +03:00
19 lines
443 B
TypeScript
19 lines
443 B
TypeScript
|
|
import { Button } from "@/components/ui/button";
|
||
|
|
import { useFirebaseApp } from "@/hooks/use-firebase";
|
||
|
|
|
||
|
|
export default function NotificationView() {
|
||
|
|
const firebaseApp = useFirebaseApp();
|
||
|
|
|
||
|
|
return (
|
||
|
|
<div className="flex size-full flex-col md:flex-row">
|
||
|
|
<Button
|
||
|
|
onClick={() => {
|
||
|
|
firebaseApp.automaticDataCollectionEnabled = false;
|
||
|
|
}}
|
||
|
|
>
|
||
|
|
Enable Notifications
|
||
|
|
</Button>
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
}
|