Skip to content

Commit

Permalink
fix: delete IconSettingsProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
SevereCloud committed Aug 30, 2023
1 parent 76bcbad commit 7c22e3f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/vkui/src/components/AppRoot/AppRoot.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react';
import { IconSettingsProvider } from '@vkontakte/icons';
import { classNames, noop } from '@vkontakte/vkjs';
import { useAdaptivity } from '../../hooks/useAdaptivity';
import { useAppearance } from '../../hooks/useAppearance';
Expand Down Expand Up @@ -218,9 +217,7 @@ export const AppRoot = ({
disablePortal,
}}
>
<ScrollController elRef={rootRef}>
<IconSettingsProvider classPrefix="vkui">{children}</IconSettingsProvider>
</ScrollController>
<ScrollController elRef={rootRef}>{children}</ScrollController>
</AppRootContext.Provider>
);

Expand Down

0 comments on commit 7c22e3f

Please sign in to comment.