diff --git a/apps/web/components/recipe/save-offline-button.tsx b/apps/web/components/recipe/save-offline-button.tsx
index bdb859e..4579aa7 100644
--- a/apps/web/components/recipe/save-offline-button.tsx
+++ b/apps/web/components/recipe/save-offline-button.tsx
@@ -5,6 +5,7 @@ import { usePathname } from "next/navigation";
import { toast } from "sonner";
import { Download, Check } from "lucide-react";
import { Button } from "@/components/ui/button";
+import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip";
import { isRecipeSavedOffline, saveRecipeOffline, unsaveRecipeOffline } from "@/lib/offline-db";
export function SaveOfflineButton({ recipeId, recipeTitle }: { recipeId: string; recipeTitle: string }) {
@@ -40,10 +41,18 @@ export function SaveOfflineButton({ recipeId, recipeTitle }: { recipeId: string;
}
}
+ const label = saved ? "Saved offline" : "Save offline";
+
return (
-
+
+
+ { void toggle(); }}>
+ {saved ? : }
+
+ } />
+ {label}
+
+
);
}