@@ -159,17 +159,17 @@ export function createUtility(options: Options) {
159159 return values
160160 }
161161
162- const defaultTransform = memo ( ( prop : string , value : string ) => {
162+ const defaultTransform = ( prop : string , value : string ) => {
163163 return {
164164 [ prop ] : prop . startsWith ( "--" ) ? tokens . getVar ( value , value ) : value ,
165165 }
166- } )
166+ }
167167
168168 const tokenFn = Object . assign ( tokens . getVar , {
169169 raw : ( path : string ) => tokens . getByName ( path ) ,
170170 } )
171171
172- const transform = memo ( ( prop : string , raw : any ) => {
172+ const transform = ( prop : string , raw : any ) => {
173173 const key = resolveShorthand ( prop )
174174
175175 // skip emotion generated keyframes
@@ -194,7 +194,7 @@ export function createUtility(options: Options) {
194194 token : tokenFn ,
195195 utils : { colorMix : _colorMix } ,
196196 } )
197- } )
197+ }
198198
199199 function build ( ) {
200200 assignShorthands ( )
@@ -207,9 +207,9 @@ export function createUtility(options: Options) {
207207
208208 const hasShorthand = shorthands . size > 0
209209
210- const resolveShorthand = memo ( ( prop : string ) => {
210+ const resolveShorthand = ( prop : string ) => {
211211 return shorthands . get ( prop ) ?? prop
212- } )
212+ }
213213
214214 const keys = ( ) => {
215215 return [ ...Array . from ( shorthands . keys ( ) ) , ...Object . keys ( configs ) ]
0 commit comments