diff --git a/src/components/APIList.tsx b/src/components/APIList.tsx index 6f3e85b..cf09547 100644 --- a/src/components/APIList.tsx +++ b/src/components/APIList.tsx @@ -26,12 +26,12 @@ export default function APIList({ apis = [] }: APIListProps) { const isMounted = useMounted(); - const baseUrl = `${window.location.origin}/api/${params.storeId}`; - if (!isMounted) { return null; } + const baseUrl = `${window.location.origin}/api/${params.storeId}`; + return ( <> {apis.map(({ title, route, variant }, index) => (