Skip to content

Commit

Permalink
fix: 修复提示词管理
Browse files Browse the repository at this point in the history
  • Loading branch information
weaigc committed Nov 25, 2023
1 parent c047313 commit de25dcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export function Settings() {
</DialogContent>
</Dialog>
)
} else if (loc) {
} else if (['voice', 'advanced'].includes(loc)) {
return (
<Dialog open onOpenChange={() => setLoc('')} modal>
<DialogContent>
Expand Down
2 changes: 1 addition & 1 deletion src/components/user-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function UserMenu() {
<DropdownMenuSeparator />
<DropdownMenuItem
onClick={() =>
location.href='#dialog="advanced-settings"'
location.href='#dialog="advanced"'
}
className="cursor-pointer"
>
Expand Down

0 comments on commit de25dcc

Please sign in to comment.