Skip to content

Commit

Permalink
"Fix" type reference to use @emotion/css instead of @emotion/cache
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Oct 5, 2022
1 parent 817e387 commit 516fe7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/provider/cache/cache_provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

import React, { PropsWithChildren } from 'react';
import { EmotionCache } from '@emotion/cache';
import { EmotionCache } from '@emotion/css';
import { CacheProvider } from '@emotion/react';

export interface EuiCacheProviderProps {
Expand Down
3 changes: 1 addition & 2 deletions src/components/provider/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
*/

import React, { PropsWithChildren } from 'react';
import { cache as fallbackCache } from '@emotion/css';
import { EmotionCache } from '@emotion/react';
import { cache as fallbackCache, EmotionCache } from '@emotion/css';

import {
EuiGlobalStyles,
Expand Down

0 comments on commit 516fe7b

Please sign in to comment.