File tree Expand file tree Collapse file tree
web/components/environment Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { Button } from "@flagix/ui/button" ;
1+ import { Button } from "@flagix/ui/components/ button" ;
22import Image , { type ImageProps } from "next/image" ;
33import styles from "./page.module.css" ;
44
@@ -63,9 +63,7 @@ export default function Home() {
6363 Read our docs
6464 </ a >
6565 </ div >
66- < Button appName = "docs" className = { styles . secondary } >
67- Open alert
68- </ Button >
66+ < Button className = { styles . secondary } > Open alert</ Button >
6967 </ main >
7068 < footer className = { styles . footer } >
7169 < a
Original file line number Diff line number Diff line change 66 "name" : " next"
77 }
88 ],
9- "strictNullChecks" : true
9+ "strictNullChecks" : true ,
10+ "target" : " ES2017" ,
11+ "lib" : [
12+ " dom" ,
13+ " dom.iterable" ,
14+ " esnext"
15+ ],
16+ "skipLibCheck" : true ,
17+ "strict" : false ,
18+ "incremental" : true ,
19+ "esModuleInterop" : true ,
20+ "resolveJsonModule" : true ,
21+ "isolatedModules" : true
1022 },
1123 "include" : [
1224 " **/*.ts" ,
1527 " next.config.js" ,
1628 " .next/types/**/*.ts"
1729 ],
18- "exclude" : [" node_modules" ]
30+ "exclude" : [
31+ " node_modules"
32+ ]
1933}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ type EnvironmentTabsProps = {
1414 isLoading : boolean ;
1515 isSubmitting : boolean ;
1616 setIsCreateModalOpen : ( isOpen : boolean ) => void ;
17- tabsContainerRef : React . RefObject < HTMLDivElement > ;
17+ tabsContainerRef : React . RefObject < HTMLDivElement | null > ;
1818} ;
1919
2020export function EnvironmentTabs ( {
@@ -59,7 +59,7 @@ export function EnvironmentTabs({
5959 ) }
6060 </ div >
6161 < Button
62- className = "ml-4 flex- shrink-0 bg-emerald-600 p-2 text-sm text-white hover:bg-emerald-700"
62+ className = "ml-4 shrink-0 bg-emerald-600 p-2 text-sm text-white hover:bg-emerald-700"
6363 disabled = { isSubmitting }
6464 onClick = { ( ) => setIsCreateModalOpen ( true ) }
6565 >
Original file line number Diff line number Diff line change 3232 },
3333 "pnpm" : {
3434 "overrides" : {
35- "@types/react" : " 18.3.5"
35+ "@types/react" : " 19.0.0" ,
36+ "@types/react-dom" : " 19.0.0"
3637 }
3738 }
3839}
You can’t perform that action at this time.
0 commit comments