File tree Expand file tree Collapse file tree 1 file changed +28
-7
lines changed
apps/twig/src/renderer/features/settings/components Expand file tree Collapse file tree 1 file changed +28
-7
lines changed Original file line number Diff line number Diff line change 11import { useSetHeaderContent } from "@hooks/useSetHeaderContent" ;
2- import { Warning } from "@phosphor-icons/react" ;
2+ import { ArrowLeft , Warning } from "@phosphor-icons/react" ;
33import {
44 Box ,
55 Button ,
@@ -43,12 +43,23 @@ export function FolderSettingsView() {
4343 return (
4444 < Box height = "100%" overflowY = "auto" >
4545 < Box p = "6" style = { { maxWidth : "600px" , margin : "0 auto" } } >
46- < Callout . Root color = "red" >
47- < Callout . Icon >
48- < Warning />
49- </ Callout . Icon >
50- < Callout . Text > Repository not found</ Callout . Text >
51- </ Callout . Root >
46+ < Flex direction = "column" gap = "4" >
47+ < Callout . Root color = "red" >
48+ < Callout . Icon >
49+ < Warning />
50+ </ Callout . Icon >
51+ < Callout . Text > Repository not found</ Callout . Text >
52+ </ Callout . Root >
53+ < Button
54+ variant = "soft"
55+ size = "2"
56+ onClick = { ( ) => navigateToTaskInput ( ) }
57+ style = { { alignSelf : "flex-start" } }
58+ >
59+ < ArrowLeft size = { 16 } />
60+ Back to home
61+ </ Button >
62+ </ Flex >
5263 </ Box >
5364 </ Box >
5465 ) ;
@@ -128,6 +139,16 @@ export function FolderSettingsView() {
128139 </ Button >
129140 </ Flex >
130141 </ Card >
142+
143+ < Button
144+ variant = "soft"
145+ size = "2"
146+ onClick = { ( ) => navigateToTaskInput ( ) }
147+ style = { { alignSelf : "flex-start" } }
148+ >
149+ < ArrowLeft size = { 16 } />
150+ Back to home
151+ </ Button >
131152 </ Flex >
132153 </ Box >
133154 </ Box >
You can’t perform that action at this time.
0 commit comments