Skip to content

Commit

Permalink
fix: remove unnecessary memoization
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredLunde committed Dec 22, 2021
1 parent 081ce7c commit 69b7123
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ export function createStyles<
| StyleCallback<S, ValueOf<Omit<VT, "default">>>,
...placeholders: string[]
): S {
literals = typeof literals === "function" ? memoize(literals) : literals;

const styles = compileStyles(
compileLiterals(literals, ...placeholders),
tokens[currentTheme]
Expand Down

0 comments on commit 69b7123

Please sign in to comment.