@@directive("'use client'") @react.component let make = (~children) => { let pathname = Next.Navigation.usePathname() let content = {if pathname->String.startsWith("/components") { <>
} else { React.null }}
{children}
if pathname->String.startsWith("/og/render") { children } else { {switch Config.LibStyle.fromPathname(pathname) { | Some(_) => content | None => content }} } } let default = make