Skip to content

Commit 2a7f49d

Browse files
committed
Refactor
1 parent eeb1280 commit 2a7f49d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jss/StylesProvider/StylesProvider.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useMemo } from 'react';
1+
import React from 'react';
22
import { create, type JssOptions } from 'jss';
33
import MuiStylesProvider, {
44
type StylesProviderProps as MuiStylesProviderProps,
@@ -19,7 +19,7 @@ export default function StylesProvider({
1919
injectFirst,
2020
...rest
2121
}: StylesProviderProps): JSX.Element {
22-
const jss = useMemo(() => {
22+
const jss = React.useMemo(() => {
2323
let insertionPointRef = insertionPoint;
2424

2525
if (!insertionPointRef && injectFirst && typeof window !== 'undefined') {

0 commit comments

Comments
 (0)