Skip to content

Commit

Permalink
fix: fix token pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredLunde committed Oct 23, 2021
1 parent 2b820ad commit ee6b110
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ export function createStyles<
}
}

setTokenPointer((current) => current++);
setTokenPointer((current) => ++current);
},
insertThemes(nextThemes) {
for (const themeName in nextThemes) {
Expand All @@ -438,7 +438,7 @@ export function createStyles<
) as VT[keyof VT];
}

setTokenPointer((current) => current++);
setTokenPointer((current) => ++current);
},
}),
[theme, tokenPointer]
Expand Down

0 comments on commit ee6b110

Please sign in to comment.