diff --git a/web/app/components/base/features/__tests__/context.spec.tsx b/web/app/components/base/features/__tests__/context.spec.tsx index 64bfb256f2a..4be4e00d266 100644 --- a/web/app/components/base/features/__tests__/context.spec.tsx +++ b/web/app/components/base/features/__tests__/context.spec.tsx @@ -1,10 +1,10 @@ import { render, screen } from '@testing-library/react' import * as React from 'react' -import { useContext } from 'react' +import { use } from 'react' import { FeaturesContext, FeaturesProvider } from '../context' const TestConsumer = () => { - const store = useContext(FeaturesContext) + const store = use(FeaturesContext) if (!store) return