Skip to content

Commit

Permalink
⬅️ Revert use of class update
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh committed Feb 13, 2025
1 parent 1cc24c2 commit e5dc975
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions @navikt/core/react/src/theme/Theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,9 @@ export const compositeClassFunction = (
};

const RenameCSS = ({ children }: { children: React.ReactNode }) => {
return (
<RenameCSSProvider cn={compositeClassFunction}>
{children}
</RenameCSSProvider>
);
/* Replace function with this when implementation is complete and CSS is updated */
/* <RenameCSSProvider cn={compositeClassFunction}> */
return <RenameCSSProvider cn={cl}>{children}</RenameCSSProvider>;
};

/* -------------------------------------------------------------------------- */
Expand Down

0 comments on commit e5dc975

Please sign in to comment.