diff --git a/examples/with-ant-design/app/AntdRegistry.tsx b/examples/with-ant-design/app/AntdRegistry.tsx index 855442f63efb7..1dd6cdb84d157 100644 --- a/examples/with-ant-design/app/AntdRegistry.tsx +++ b/examples/with-ant-design/app/AntdRegistry.tsx @@ -10,7 +10,7 @@ interface StyledRegistryProps { } const StyledComponentsRegistry = ({ children }: StyledRegistryProps) => { - const cache = React.useMemo(() => createCache(), [createCache]) + const cache = React.useMemo(() => createCache(), []) useServerInsertedHTML(() => (