mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
amend
This commit is contained in:
parent
7072933a88
commit
bcb0c33616
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ const SettingOfFieldAndParam = ({ field, param }: { field: VoidConfigField, para
|
|||
|
||||
const resetButton = <button
|
||||
disabled={val === defaultVal}
|
||||
title={val === defaultVal ? 'This is already the default value.' : `Revert value to '${defaultVal}'?`}
|
||||
title={val === defaultVal ? 'This is the default value.' : `Revert value to '${defaultVal}'?`}
|
||||
className='group btn btn-sm disabled:opacity-75 disabled:cursor-default'
|
||||
onClick={() => updateState(defaultVal)}
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in a new issue