File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ export default function Browser() {
156156 } ;
157157
158158 const goHome = ( ) => {
159- handleNavigate ( "https://duckduckgo.com" ) ;
159+ window . location . href = '/' ;
160160 } ;
161161
162162 const goBack = ( ) => {
@@ -255,6 +255,9 @@ export default function Browser() {
255255
256256 < div className = "flex items-center justify-between gap-3 border-b border-border/50 bg-background-secondary px-3 py-2 backdrop-blur-xl" >
257257 < div className = "flex items-center gap-1" >
258+ < button type = "button" className = { iconButtonClass } onClick = { goHome } aria-label = "Home" >
259+ < Home className = "h-4 w-4" />
260+ </ button >
258261 < button type = "button" className = { iconButtonClass } onClick = { goBack } aria-label = "Back" >
259262 < ChevronLeft className = "h-4 w-4" />
260263 </ button >
@@ -264,9 +267,6 @@ export default function Browser() {
264267 < button type = "button" className = { iconButtonClass } onClick = { reloadTab } aria-label = "Reload" >
265268 < RotateCw className = "h-4 w-4" />
266269 </ button >
267- < button type = "button" className = { iconButtonClass } onClick = { goHome } aria-label = "Home" >
268- < Home className = "h-4 w-4" />
269- </ button >
270270 </ div >
271271
272272 < div className = "flex-1" >
You can’t perform that action at this time.
0 commit comments