chore: display the direct command in add worker
This commit is contained in:
@@ -4,10 +4,9 @@
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: var(--font-size-base);
|
||||
padding: 2px;
|
||||
border-radius: var(--border-radius-base);
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
height: 32px;
|
||||
padding: 0 8px;
|
||||
border: 1px solid var(--ant-color-border);
|
||||
cursor: pointer;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ const RadioButtons: React.FC<RadioButtonsProps> = (props) => {
|
||||
{options.map((option) => (
|
||||
<span
|
||||
key={option.value}
|
||||
onClick={() => onChange(option.value)}
|
||||
onClick={() => onChange({ target: { value: option.value } } as any)}
|
||||
className={classNames('item', { active: value === option.value })}
|
||||
>
|
||||
{option.label}
|
||||
|
||||
Reference in New Issue
Block a user