Skip to content

Commit 153b612

Browse files
committed
fix: button type, default case for sfdc function
1 parent af487af commit 153b612

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/cloud/components/WriteLimitOverlay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const WriteLimitOverlay: FC = () => {
8383
<Overlay.Footer>
8484
<Button
8585
shape={ButtonShape.Default}
86-
type={ButtonType.Submit}
86+
type={ButtonType.Button}
8787
size={ComponentSize.Medium}
8888
color={ComponentColor.Tertiary}
8989
text="Cancel"

src/support/components/ContactSupportOverlay.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ const translateSeverityLevelForSfdc = (severity: string): string => {
5252
case '4 - Request': {
5353
return 'Severity 4'
5454
}
55+
default: {
56+
return 'Severity 3'
57+
}
5558
}
5659
}
5760

0 commit comments

Comments
 (0)