Skip to content

Commit

Permalink
feat(Table): removed all localisation components, they are not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
tapo4ek committed Sep 24, 2024
1 parent 89ff432 commit d51639b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 48 deletions.
3 changes: 0 additions & 3 deletions .storybook/decorators/withLang.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@ import React from 'react';
import {configure} from '@gravity-ui/uikit';
import type {Decorator} from '@storybook/react';

import {configure as localConfigure} from '../../src/utils';

export const withLang: Decorator = (Story, context) => {
const lang = context.globals.lang;

configure({lang});
localConfigure({lang});

return <Story key={lang} {...context} />;
};
11 changes: 0 additions & 11 deletions src/i18n.ts

This file was deleted.

33 changes: 0 additions & 33 deletions src/utils/configure.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ export * from './getVirtualRowRangeExtractor';
export * from './shouldRenderFooterCell';
export * from './shouldRenderFooterRow';
export * from './shouldRenderHeaderCell';
export * from './configure';

0 comments on commit d51639b

Please sign in to comment.