File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 1
- import { useState } from "react" ;
2
1
import { useStore } from "../store" ;
3
2
import { IconCommandLine } from "." ;
4
3
5
4
export function Footer ( ) {
6
- const [ collapsed , setCollapsed ] = useState ( true as boolean ) ;
7
-
8
5
const appVersion = useStore ( ( s ) => s . appVersion ) ;
9
6
const platformArch = useStore ( ( s ) => s . platformArch ) ;
10
7
const consoleLines = useStore ( ( s ) => s . consoleLines ) ;
11
8
12
9
return (
13
10
< footer
14
11
tabIndex = { 0 }
15
- className = "collapse-arrow collapse bg-base-200 text-base-content/30 border-t border-base-300 rounded-none"
12
+ className = "collapse collapse-arrow bg-base-200 text-base-content/30 border-t border-base-300 rounded-none"
16
13
>
17
- < input
18
- type = "checkbox"
19
- checked = { ! collapsed }
20
- onChange = { ( ) => setCollapsed ( ! collapsed ) }
21
- />
14
+ < input type = "checkbox" />
22
15
< div className = "collapse-title flex w-full items-center" >
23
16
< IconCommandLine />
24
17
< div className = "mx-auto flex gap-x-4 text-sm" >
You can’t perform that action at this time.
0 commit comments