File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
src/pages/IndependentPanel Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ import { useTranslation } from 'react-i18next'
13
13
import ConfirmButton from '../../components/ConfirmButton'
14
14
import ConversationCard from '../../components/ConversationCard'
15
15
import DeleteButton from '../../components/DeleteButton'
16
+ import { openUrl } from '../../utils/index.mjs'
17
+ import Browser from 'webextension-polyfill'
16
18
17
19
function App ( ) {
18
20
const { t } = useTranslation ( )
@@ -128,7 +130,14 @@ function App() {
128
130
< hr />
129
131
< div className = "chat-sidebar-button-group" >
130
132
< ConfirmButton text = { t ( 'Clear conversations' ) } onConfirm = { clearConversations } />
131
- < button className = "normal-button" > { t ( 'Settings' ) } </ button >
133
+ < button
134
+ className = "normal-button"
135
+ onClick = { ( ) => {
136
+ openUrl ( Browser . runtime . getURL ( 'popup.html' ) )
137
+ } }
138
+ >
139
+ { t ( 'Settings' ) }
140
+ </ button >
132
141
</ div >
133
142
</ div >
134
143
< div className = "chat-content" >
You can’t perform that action at this time.
0 commit comments