Skip to content

Commit

Permalink
fix: memoize inject sx
Browse files Browse the repository at this point in the history
  • Loading branch information
Suraj authored and Suraj committed Jan 12, 2024
1 parent abad689 commit 323a2c6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/styled/react/src/styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ import { resolveComponentTheme } from './createConfig';
// Create a caching object
let sxMemoizationCache: any = {};

// Define a function to generate a unique key for the function arguments
const generateCacheKey = (args: any) => stableHash(args);

const styledSystemProps = { ...CSSPropertiesMap };

function isSubset(subset: any, set: any) {
Expand Down

0 comments on commit 323a2c6

Please sign in to comment.