@@ -30,6 +30,8 @@ import { DeploymentList } from "components/DeploymentList";
30
30
import { checkDeploymentInfo } from "lib/checkDeploymentInfo" ;
31
31
import { ConvexCloudReminderToast } from "components/ConvexCloudReminderToast" ;
32
32
import { z } from "zod" ;
33
+ import { UIProvider } from "@ui/UIContext" ;
34
+ import Link from "next/link" ;
33
35
34
36
function App ( {
35
37
Component,
@@ -53,28 +55,30 @@ function App({
53
55
< meta name = "description" content = "Manage your Convex apps" />
54
56
< Favicon />
55
57
</ Head >
56
- < ThemeProvider attribute = "class" disableTransitionOnChange >
57
- < ThemeConsumer />
58
- < ToastContainer />
59
- < div className = "flex h-screen flex-col" >
60
- < DeploymentInfoProvider
61
- deploymentUrl = { deploymentUrl }
62
- adminKey = { adminKey }
63
- defaultListDeploymentsApiUrl = { defaultListDeploymentsApiUrl }
64
- >
65
- < DeploymentApiProvider deploymentOverride = "local" >
66
- < WaitForDeploymentApi >
67
- < DeploymentDashboardLayout >
68
- < >
69
- < Component { ...pageProps } />
70
- < ConvexCloudReminderToast />
71
- </ >
72
- </ DeploymentDashboardLayout >
73
- </ WaitForDeploymentApi >
74
- </ DeploymentApiProvider >
75
- </ DeploymentInfoProvider >
76
- </ div >
77
- </ ThemeProvider >
58
+ < UIProvider Link = { Link } >
59
+ < ThemeProvider attribute = "class" disableTransitionOnChange >
60
+ < ThemeConsumer />
61
+ < ToastContainer />
62
+ < div className = "flex h-screen flex-col" >
63
+ < DeploymentInfoProvider
64
+ deploymentUrl = { deploymentUrl }
65
+ adminKey = { adminKey }
66
+ defaultListDeploymentsApiUrl = { defaultListDeploymentsApiUrl }
67
+ >
68
+ < DeploymentApiProvider deploymentOverride = "local" >
69
+ < WaitForDeploymentApi >
70
+ < DeploymentDashboardLayout >
71
+ < >
72
+ < Component { ...pageProps } />
73
+ < ConvexCloudReminderToast />
74
+ </ >
75
+ </ DeploymentDashboardLayout >
76
+ </ WaitForDeploymentApi >
77
+ </ DeploymentApiProvider >
78
+ </ DeploymentInfoProvider >
79
+ </ div >
80
+ </ ThemeProvider >
81
+ </ UIProvider >
78
82
</ >
79
83
) ;
80
84
}
0 commit comments