Skip to content

Commit

Permalink
refactor(Table.stories): change the lodash function import form
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturAbdullin committed Apr 19, 2024
1 parent 8bdf759 commit d31ad8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Table/__stories__/Table.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import React from 'react';
import {Pencil} from '@gravity-ui/icons';
import {action} from '@storybook/addon-actions';
import type {Meta, StoryFn} from '@storybook/react';
import {isEqual} from 'lodash';
import _cloneDeep from 'lodash/cloneDeep';
import _isEqual from 'lodash/isEqual';

import type {TableAction, TableSettingsData} from '..';
import {Icon} from '../../Icon';
Expand Down Expand Up @@ -265,7 +265,7 @@ const WithTableSettingsWithResetTemplate: StoryFn<TableProps<DataItem>> = (args)
settings={settings}
updateSettings={updateSettings}
defaultSettings={DEFAULT_SETTINGS}
showResetButton={!isEqual(DEFAULT_SETTINGS, settings)}
showResetButton={!_isEqual(DEFAULT_SETTINGS, settings)}
/>
);
};
Expand Down

0 comments on commit d31ad8d

Please sign in to comment.