Skip to content

Commit 747d4b0

Browse files
committed
.
1 parent 6047bdc commit 747d4b0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/compass-global-writes/src/components/create-shard-key-form.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,8 @@ export function CreateShardKeyForm({
318318
export default connect(
319319
(state: RootState) => ({
320320
namespace: state.namespace,
321-
isSubmittingForSharding:
322-
!!state.userActionInProgress === 'submitForSharding',
323-
isCancellingSharding: !!state.userActionInProgress === 'cancelSharding',
321+
isSubmittingForSharding: state.userActionInProgress === 'submitForSharding',
322+
isCancellingSharding: state.userActionInProgress === 'cancelSharding',
324323
}),
325324
{
326325
onCreateShardKey: createShardKey,

0 commit comments

Comments
 (0)