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 6047bdc commit 747d4b0Copy full SHA for 747d4b0
packages/compass-global-writes/src/components/create-shard-key-form.tsx
@@ -318,9 +318,8 @@ export function CreateShardKeyForm({
318
export default connect(
319
(state: RootState) => ({
320
namespace: state.namespace,
321
- isSubmittingForSharding:
322
- !!state.userActionInProgress === 'submitForSharding',
323
- isCancellingSharding: !!state.userActionInProgress === 'cancelSharding',
+ isSubmittingForSharding: state.userActionInProgress === 'submitForSharding',
+ isCancellingSharding: state.userActionInProgress === 'cancelSharding',
324
}),
325
{
326
onCreateShardKey: createShardKey,
0 commit comments