diff --git a/src/components/SearchButton.tsx b/src/components/SearchButton.tsx index be68643..1ac196d 100644 --- a/src/components/SearchButton.tsx +++ b/src/components/SearchButton.tsx @@ -1,6 +1,7 @@ "use client" import { useCommand } from "@/hooks/use-command" +import { cn } from "@/lib/utils" import { MagnifyingGlassIcon } from "@heroicons/react/20/solid" import { Button } from "./ui/button" @@ -8,11 +9,15 @@ import { Button } from "./ui/button" export function SearchButton() { const { openCommand } = useCommand() + const customBackgroundImage = (window.CustomBackgroundImage as string) !== "" ? window.CustomBackgroundImage : undefined + return (