fix web button

This commit is contained in:
Zhang Minghan 2023-10-25 20:42:53 +08:00
parent 95f03d21a5
commit bc2baee922

View File

@ -168,7 +168,7 @@ function ChatWrapper() {
<TooltipTrigger asChild> <TooltipTrigger asChild>
<Toggle <Toggle
aria-label={t("chat.web-aria")} aria-label={t("chat.web-aria")}
defaultPressed={true} defaultPressed={false}
onPressedChange={(state: boolean) => onPressedChange={(state: boolean) =>
dispatch(setWeb(state)) dispatch(setWeb(state))
} }