From 226cf6385e7191fc1f7fe5618528a7241cbf8172 Mon Sep 17 00:00:00 2001 From: imnyang Date: Fri, 6 Mar 2026 22:46:06 +0900 Subject: [PATCH] feat: add fetch call to update nadae state on activation --- src/components/DraggableWindow.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/DraggableWindow.tsx b/src/components/DraggableWindow.tsx index 2499a14..31e1f67 100644 --- a/src/components/DraggableWindow.tsx +++ b/src/components/DraggableWindow.tsx @@ -33,6 +33,9 @@ export default function DraggableWindow() { audioRef.current.currentTime = 0; void audioRef.current.play(); + void fetch('https://api.imnya.ng/nadae', { + method: 'PUT', + }).catch(() => null); setIsNadaeVisible(true);