feat: add fetch call to update nadae state on activation

This commit is contained in:
암냥 2026-03-06 22:46:06 +09:00
commit 226cf6385e
No known key found for this signature in database

View file

@ -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);