File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed
examples/solid/start-clerk-basic/src Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ function RootDocument({ children }: { children: JSXElement }) {
102102 < body >
103103 < HeadContent />
104104
105+ < < << << < Updated upstream
105106 < div class = "p-2 flex gap-2 text-lg" >
106107 < Link
107108 to = "/"
@@ -127,6 +128,36 @@ function RootDocument({ children }: { children: JSXElement }) {
127128 < SignedOut >
128129 < SignInButton mode = "modal" />
129130 </ SignedOut >
131+ =======
132+
133+ < ClerkProvider publishableKey = { import . meta. env . VITE_CLERK_PUBLISHABLE_KEY } >
134+ < div class = "p-2 flex gap-2 text-lg" >
135+ < Link
136+ to = "/"
137+ activeProps = { {
138+ class : 'font-bold' ,
139+ } }
140+ activeOptions = { { exact : true } }
141+ >
142+ Home
143+ </ Link > { ' ' }
144+ < Link
145+ to = "/posts"
146+ activeProps = { {
147+ class : 'font-bold' ,
148+ } }
149+ >
150+ Posts
151+ </ Link >
152+ < div class = "ml-auto" >
153+ < SignedIn >
154+ < UserButton />
155+ </ SignedIn >
156+ < SignedOut >
157+ < SignInButton mode = "modal" />
158+ </ SignedOut >
159+ </ div >
160+ >>> >>> > Stashed changes
130161 </ div >
131162 </ div >
132163 < hr />
Original file line number Diff line number Diff line change 11import { clerkMiddleware } from '@clerk/tanstack-react-start/server'
22import { createStart } from '@tanstack/solid-start'
3+ import type { AnyRequestMiddleware } from '@tanstack/solid-start'
34
45export const startInstance = createStart ( ( ) => {
56 return {
6- requestMiddleware : [ clerkMiddleware ( ) ] ,
7+ requestMiddleware : [ clerkMiddleware ( ) as AnyRequestMiddleware ] ,
78 }
89} )
You can’t perform that action at this time.
0 commit comments