realtime on turn off buzzer

This commit is contained in:
Muhammad Izza Alfiansyah 2024-07-09 15:10:10 +07:00
parent cad5e9d287
commit c915dc101c
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ export default function (props: JSX.HTMLAttributes<HTMLDivElement>) {
const turnOffBuzzer = async () => {
await supabase.from("pengaturan").update({ buzzer_on: false }).eq("id", 1);
await checkPengaturan();
};
const toggleSidebar = () => {