mirror of
https://github.com/Sevichecc/raycast-akkoma-extension.git
synced 2025-06-17 06:19:13 +08:00
fix: cw setting could not store
This commit is contained in:
parent
bda1804b6a
commit
57cd5db168
1 changed files with 3 additions and 3 deletions
|
@ -75,8 +75,8 @@ export default function SimpleCommand(props: CommandProps) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleCw = () => {
|
const handleCw = (value:boolean) => {
|
||||||
setShowCw(!showCw);
|
setShowCw(value);
|
||||||
if (cwRef.current) {
|
if (cwRef.current) {
|
||||||
cwRef.current.focus();
|
cwRef.current.focus();
|
||||||
}
|
}
|
||||||
|
@ -93,7 +93,7 @@ export default function SimpleCommand(props: CommandProps) {
|
||||||
</ActionPanel>
|
</ActionPanel>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{fqn && <Form.Description title="Account" text={fqn} />}
|
<Form.Description title="Account" text={fqn} />
|
||||||
{showCw && (
|
{showCw && (
|
||||||
<Form.TextField
|
<Form.TextField
|
||||||
id="spoiler_text"
|
id="spoiler_text"
|
||||||
|
|
Loading…
Reference in a new issue