A library that checks if the code is running in a browser.
/** * A library that checks if the code is running in a browser. */ export const isBrowser = typeof window !== 'undefined'
npx shadcn@latest add @hooks/is-browser
import { IsBrowser } from "@/lib/is-browser"
IsBrowser()