mirror of
https://github.com/Sevichecc/raycast-akkoma-extension.git
synced 2025-04-30 06:39:30 +08:00
refactor: move title to label
This commit is contained in:
parent
68a73f58d6
commit
783d78e3da
1 changed files with 2 additions and 3 deletions
|
@ -146,13 +146,12 @@ export default function SimpleCommand(props: CommandProps) {
|
||||||
{props.children}
|
{props.children}
|
||||||
<Form.Checkbox
|
<Form.Checkbox
|
||||||
id="markdown"
|
id="markdown"
|
||||||
title="Markdown"
|
label="Markdown"
|
||||||
label=""
|
|
||||||
value={state.isMarkdown}
|
value={state.isMarkdown}
|
||||||
onChange={(value) => setState((prevState) => ({ ...prevState, isMarkdown: value }))}
|
onChange={(value) => setState((prevState) => ({ ...prevState, isMarkdown: value }))}
|
||||||
storeValue
|
storeValue
|
||||||
/>
|
/>
|
||||||
<Form.Checkbox id="sensitive" title="Sensitive" label="" value={state.sensitive} onChange={handleCw} storeValue />
|
<Form.Checkbox id="sensitive" label="Sensitive" value={state.sensitive} onChange={handleCw} storeValue />
|
||||||
</Form>
|
</Form>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue