From f4330e0a4b59c08660e9f9befc989c24a17ff348 Mon Sep 17 00:00:00 2001 From: "Tom (plebeius.eth)" Date: Thu, 20 Feb 2025 21:50:32 +0100 Subject: [PATCH] style(post page): add window alert about Update button --- src/components/board-buttons/board-buttons.tsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/board-buttons/board-buttons.tsx b/src/components/board-buttons/board-buttons.tsx index 3e70bafe..815aa0ad 100644 --- a/src/components/board-buttons/board-buttons.tsx +++ b/src/components/board-buttons/board-buttons.tsx @@ -92,13 +92,21 @@ const UpdateButton = () => { const { t } = useTranslation(); const isMobile = useIsMobile(); + const handleUpdate = () => { + window.alert('Manual updates are not available yet. Posts update automatically every ~2 minutes.'); + }; + return ( <> {/* TODO: Implement update button once available in API */} {isMobile ? ( - + ) : ( - + )} );