Skip to content

Commit

Permalink
Remove joi leakage to the browser in @kbn/search-connectors
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo committed Jul 1, 2024
1 parent 1767aa4 commit 29cd6b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import React from 'react';

import { EuiBasicTable, EuiBasicTableColumn, EuiIcon, EuiToolTip, EuiCode } from '@elastic/eui';
import { ByteSizeValue } from '@kbn/config-schema';
import { ByteSizeValue } from '@kbn/config-schema/src/byte_size_value'; // importing from file to avoid leaking `joi` to the browser
import { i18n } from '@kbn/i18n';

import { FormattedMessage } from '@kbn/i18n-react';
Expand Down

0 comments on commit 29cd6b8

Please sign in to comment.