File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
packages/test-snaps/src/features/snaps/state/components Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -59,28 +59,22 @@ export const SetState: FunctionComponent<{ encrypted: boolean }> = ({
5959 placeholder = "Value"
6060 value = { value }
6161 onChange = { handleChangeValue }
62- id = { encrypted ? 'dataManageState ' : 'dataUnencryptedManageState ' }
62+ id = { encrypted ? 'dataState ' : 'dataUnencryptedState ' }
6363 className = "mb-3"
6464 />
6565 </ Form . Group >
6666
6767 < Button
6868 type = "submit"
69- id = { encrypted ? 'sendManageState ' : 'sendUnencryptedManageState ' }
69+ id = { encrypted ? 'sendState ' : 'sendUnencryptedState ' }
7070 disabled = { isLoading }
7171 >
7272 Set State
7373 </ Button >
7474 </ Form >
7575
7676 < Result className = "mb-3" >
77- < span
78- id = {
79- encrypted
80- ? 'sendManageStateResult'
81- : 'sendUnencryptedManageStateResult'
82- }
83- >
77+ < span id = { encrypted ? 'sendStateResult' : 'sendUnencryptedStateResult' } >
8478 { JSON . stringify ( data , null , 2 ) }
8579 { JSON . stringify ( error , null , 2 ) }
8680 </ span >
You can’t perform that action at this time.
0 commit comments