fix dev msg options in dark mode
This commit is contained in:
@@ -99,7 +99,7 @@ export default function Message(props: Props) {
|
|||||||
{showCopiedHint && <CopiedHint />}
|
{showCopiedHint && <CopiedHint />}
|
||||||
{chatStore.develop_mode && (
|
{chatStore.develop_mode && (
|
||||||
<div>
|
<div>
|
||||||
token{" "}
|
<span className="dark:text-white">token</span>
|
||||||
<input
|
<input
|
||||||
value={chat.token}
|
value={chat.token}
|
||||||
className="w-20"
|
className="w-20"
|
||||||
@@ -158,15 +158,16 @@ export default function Message(props: Props) {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<span>
|
<span>
|
||||||
<label>example</label>
|
<label
|
||||||
<input
|
className="dark:text-white"
|
||||||
type="checkbox"
|
onClick={(event: any) => {
|
||||||
checked={chat.example}
|
chat.example = !chat.example;
|
||||||
onChange={(event: any) => {
|
|
||||||
chat.example = event.target.checked;
|
|
||||||
setChatStore({ ...chatStore });
|
setChatStore({ ...chatStore });
|
||||||
}}
|
}}
|
||||||
/>
|
>
|
||||||
|
example
|
||||||
|
</label>
|
||||||
|
<input type="checkbox" checked={chat.example} />
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user