File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 Box ,
77 Card ,
88 CardContent ,
9+ IconButton ,
910 FormControl ,
1011 Grid ,
1112 Input ,
@@ -27,6 +28,8 @@ import {
2728 SearchIcon ,
2829 ZapIcon ,
2930} from 'lucide-react' ;
31+ import { ArrowLeftIcon } from 'lucide-react' ;
32+ import { useNavigate } from 'react-router-dom' ;
3033
3134import {
3235 SiNvidia ,
@@ -77,6 +80,8 @@ export default function Computer() {
7780 ? pythonLibraries
7881 : [ ] ;
7982
83+ const navigate = useNavigate ( ) ;
84+
8085 return (
8186 < Sheet
8287 sx = { {
@@ -116,9 +121,26 @@ export default function Computer() {
116121 } }
117122 >
118123 { /* {JSON.stringify(server)} */ }
119- < Typography level = "h2" paddingBottom = { 1 } >
120- Server Information
121- </ Typography >
124+ < Box
125+ sx = { {
126+ display : 'flex' ,
127+ alignItems : 'center' ,
128+ gap : 1 ,
129+ pb : 1 ,
130+ } }
131+ >
132+ < IconButton
133+ size = "sm"
134+ variant = "plain"
135+ color = "neutral"
136+ onClick = { ( ) => navigate ( - 1 ) }
137+ aria-label = "Back"
138+ sx = { { borderRadius : '999px' } }
139+ >
140+ < ArrowLeftIcon size = { 18 } />
141+ </ IconButton >
142+ < Typography level = "h2" > Server Information</ Typography >
143+ </ Box >
122144 < Sheet
123145 className = "OrderTableContainer"
124146 sx = { {
You can’t perform that action at this time.
0 commit comments