We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fc92c7 commit a906eb8Copy full SHA for a906eb8
src/components/ProgressViewer/ProgressViewer.tsx
@@ -1,7 +1,6 @@
1
import {useTheme} from '@gravity-ui/uikit';
2
3
import {cn} from '../../utils/cn';
4
-import {EMPTY_DATA_PLACEHOLDER} from '../../utils/constants';
5
import {calculateProgressStatus, defaultFormatProgressValues} from '../../utils/progress';
6
import type {FormatProgressViewerValues} from '../../utils/progress';
7
import {isNumeric} from '../../utils/utils';
@@ -104,5 +103,5 @@ export function ProgressViewer({
104
103
);
105
}
106
107
- return <div className={b({size}, className)}>{EMPTY_DATA_PLACEHOLDER}</div>;
+ return <div className={`${b({size})} ${className} error`}>no data</div>;
108
0 commit comments