Skip to content

Commit

Permalink
fixed type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Dec 4, 2024
1 parent 5909580 commit dc6add6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/theming.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const getTheme = (
}

let createCacheWithTheme = /* #__PURE__ */ weakMemoize((outerTheme: Theme) => {
return weakMemoize((theme: Theme) => {
return weakMemoize((theme: Partial<Theme> | ((theme: Theme) => Theme)) => {
return getTheme(outerTheme, theme)
})
})
Expand Down

0 comments on commit dc6add6

Please sign in to comment.