Skip to content

Commit

Permalink
Update AntdRegistry.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jia-nan authored Sep 14, 2023
1 parent ac4bca0 commit f752c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/with-ant-design/app/AntdRegistry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface StyledRegistryProps {
}

const StyledComponentsRegistry = ({ children }: StyledRegistryProps) => {
const cache = React.useMemo<Entity>(() => createCache(), [createCache])
const cache = React.useMemo<Entity>(() => createCache(), [])
useServerInsertedHTML(() => (
<style
id="antd"
Expand Down

0 comments on commit f752c33

Please sign in to comment.