Skip to content

Commit

Permalink
fix: change default value to true for switch (#4882)
Browse files Browse the repository at this point in the history
Co-authored-by: Dima Grossman <[email protected]>
  • Loading branch information
jainpawan21 and scopsy authored Nov 30, 2023
1 parent 3c1fd8a commit 714f693
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const defaultValues: IForm = {
description: '',
identifier: '',
tags: [],
critical: false,
critical: true,
steps: [],
preferenceSettings: {
email: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export function ChannelPreference() {
borderRadius: 8,
}}
position="apart"
key={key}
>
<Text>{<ChannelTitle channel={key as ChannelTypeEnum} />}</Text>
<div>
Expand Down Expand Up @@ -76,7 +77,7 @@ export function CriticalPreference() {
return (
<Controller
name="critical"
defaultValue={false}
defaultValue={true}
control={control}
render={({ field }) => {
return (
Expand Down

0 comments on commit 714f693

Please sign in to comment.