diff --git a/web/app/layout.tsx b/web/app/layout.tsx
index 4a63cc2f..b9dd669c 100644
--- a/web/app/layout.tsx
+++ b/web/app/layout.tsx
@@ -9,6 +9,7 @@ import { ConfirmProvider } from "@/lib/providers/confirm-provider"
import { DeepLinkProvider } from "@/lib/providers/deep-link-provider"
import { GeistMono, GeistSans } from "./fonts"
import { JazzAndAuth } from "@/lib/providers/jazz-provider"
+import { TooltipProvider } from "@/components/ui/tooltip"
export const metadata: Metadata = {
title: "Learn Anything",
@@ -20,9 +21,11 @@ const Providers = ({ children }: { children: React.ReactNode }) => (
-
- {children}
-
+
+
+ {children}
+
+
diff --git a/web/components/la-editor/components/ui/toolbar-button.tsx b/web/components/la-editor/components/ui/toolbar-button.tsx
index 8556a35c..7a4371d7 100644
--- a/web/components/la-editor/components/ui/toolbar-button.tsx
+++ b/web/components/la-editor/components/ui/toolbar-button.tsx
@@ -1,4 +1,4 @@
-import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip"
+import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip"
import { Toggle } from "@/components/ui/toggle"
import * as React from "react"
@@ -16,31 +16,29 @@ const ToolbarButton = React.forwardRef(fu
ref
) {
return (
-
-
-
-
- {children}
-
-
- {tooltip && (
-
- {tooltip}
-
- )}
-
-
+
+
+
+ {children}
+
+
+ {tooltip && (
+
+ {tooltip}
+
+ )}
+
)
})
diff --git a/web/components/routes/link/bottom-bar.tsx b/web/components/routes/link/bottom-bar.tsx
index aaae2665..995c7ad0 100644
--- a/web/components/routes/link/bottom-bar.tsx
+++ b/web/components/routes/link/bottom-bar.tsx
@@ -2,7 +2,7 @@ import React, { useEffect, useRef } from "react"
import { motion, AnimatePresence } from "framer-motion"
import { icons } from "lucide-react"
import { Button } from "@/components/ui/button"
-import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip"
+import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip"
import { getSpecialShortcut, formatShortcut, isMacOS } from "@/lib/utils"
import { LaIcon } from "@/components/custom/la-icon"
import { useAtom } from "jotai"
@@ -31,14 +31,12 @@ const ToolbarButton = React.forwardRef(
if (tooltip) {
return (
-
-
- {button}
-
- {tooltip}
-
-
-
+
+ {button}
+
+ {tooltip}
+
+
)
}
diff --git a/web/components/routes/link/partials/form/url-input.tsx b/web/components/routes/link/partials/form/url-input.tsx
index a90c4eb6..83878fb9 100644
--- a/web/components/routes/link/partials/form/url-input.tsx
+++ b/web/components/routes/link/partials/form/url-input.tsx
@@ -4,7 +4,7 @@ import { FormField, FormItem, FormControl, FormLabel, FormMessage } from "@/comp
import { Input } from "@/components/ui/input"
import { cn } from "@/lib/utils"
import { LinkFormValues } from "./schema"
-import { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent } from "@/components/ui/tooltip"
+import { Tooltip, TooltipTrigger, TooltipContent } from "@/components/ui/tooltip"
import { TooltipArrow } from "@radix-ui/react-tooltip"
interface UrlInputProps {
@@ -38,30 +38,28 @@ export const UrlInput: React.FC = ({ urlFetched, fetchMetadata, i
>
Url
-
-
-
- setIsFocused(true)}
- onBlur={() => setIsFocused(false)}
- />
-
-
-
-
- Press Enter to fetch metadata
-
-
-
-
+
+
+ setIsFocused(true)}
+ onBlur={() => setIsFocused(false)}
+ />
+
+
+
+
+ Press Enter to fetch metadata
+
+
+