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 e9e86e7 commit 07aae33Copy full SHA for 07aae33
packages/compass-global-writes/src/components/states/sharding-error.tsx
@@ -22,6 +22,7 @@ const btnStyles = css({
22
23
const errorStyles = css({
24
marginTop: spacing[200],
25
+ whiteSpace: 'pre-wrap',
26
});
27
28
interface ShardingErrorProps {
@@ -39,7 +40,7 @@ export function ShardingError({
39
40
}: ShardingErrorProps) {
41
return (
42
<div className={containerStyles}>
- <Banner variant={BannerVariant.Warning} className={bannerStyles}>
43
+ <Banner variant={BannerVariant.Danger} className={bannerStyles}>
44
There was an error sharding your collection. Please cancel the request,
45
make any necessary changes to your collection, and try again.
46
<div className={errorStyles}>{shardingError}</div>
0 commit comments