Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///////////////////
- // ERROR MESSAGE //
- ///////////////////
- Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
- Check your code at __root.tsx:37.
- at RootDocument (/home/admin/Coding/cleric/atproto/v1/app/routes/__root.tsx:34:27)
- at RootComponent
- at MatchInnerImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/Match.tsx:108:62)
- at CatchBoundaryImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/CatchBoundary.tsx:31:1)
- at CatchBoundary (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/CatchBoundary.tsx:11:32)
- at renderNodeDestructive (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
- at SafeFragment (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/SafeFragment.tsx:4:19)
- at SafeFragment (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/SafeFragment.tsx:4:19)
- at MatchImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/Match.tsx:19:52)
- at CatchBoundaryImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/CatchBoundary.tsx:31:1)
- at CatchBoundary (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/CatchBoundary.tsx:11:32)
- at renderNodeDestructive (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
- at SafeFragment (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/SafeFragment.tsx:4:19)
- at Matches (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/Matches.tsx:208:18)
- at RouterContextProvider (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/RouterProvider.tsx:62:3)
- at RouterProvider (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/RouterProvider.tsx:94:5)
- at StartServer (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+start@1.86.1_@libsql+client@0.14.0_@types+node@22.10.1_drizzle-orm@0.36.4_@libsql+c_gs2ezffwnrmle436t66wwrlkfm/node_modules/@tanstack/start/src/server/StartServer.tsx:11:9)
- Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
- Check your code at __root.tsx:40.
- at RootDocument (/home/admin/Coding/cleric/atproto/v1/app/routes/__root.tsx:34:27)
- at RootComponent
- at MatchInnerImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/Match.tsx:108:62)
- at CatchBoundaryImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/CatchBoundary.tsx:31:1)
- at CatchBoundary (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/CatchBoundary.tsx:11:32)
- at renderNodeDestructive (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
- at SafeFragment (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/SafeFragment.tsx:4:19)
- at SafeFragment (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/SafeFragment.tsx:4:19)
- at MatchImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/Match.tsx:19:52)
- at CatchBoundaryImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/CatchBoundary.tsx:31:1)
- at CatchBoundary (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/CatchBoundary.tsx:11:32)
- at renderNodeDestructive (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
- at SafeFragment (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/SafeFragment.tsx:4:19)
- at Matches (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/Matches.tsx:208:18)
- at RouterContextProvider (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/RouterProvider.tsx:62:3)
- at RouterProvider (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/RouterProvider.tsx:94:5)
- at StartServer (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+start@1.86.1_@libsql+client@0.14.0_@types+node@22.10.1_drizzle-orm@0.36.4_@libsql+c_gs2ezffwnrmle436t66wwrlkfm/node_modules/@tanstack/start/src/server/StartServer.tsx:11:9)
- Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
- Check your code at __root.tsx:36.
- at RootDocument (/home/admin/Coding/cleric/atproto/v1/app/routes/__root.tsx:34:27)
- at RootComponent
- at MatchInnerImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/Match.tsx:108:62)
- at CatchBoundaryImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/CatchBoundary.tsx:31:1)
- at CatchBoundary (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/CatchBoundary.tsx:11:32)
- at renderNodeDestructive (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
- at SafeFragment (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/SafeFragment.tsx:4:19)
- at SafeFragment (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/SafeFragment.tsx:4:19)
- at MatchImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/Match.tsx:19:52)
- at CatchBoundaryImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/CatchBoundary.tsx:31:1)
- at CatchBoundary (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/CatchBoundary.tsx:11:32)
- at renderNodeDestructive (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
- at SafeFragment (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/SafeFragment.tsx:4:19)
- at Matches (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/Matches.tsx:208:18)
- at RouterContextProvider (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/RouterProvider.tsx:62:3)
- at RouterProvider (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+react-router@1.86.1_@tanstack+router-generator@1.86.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-router/src/RouterProvider.tsx:94:5)
- at StartServer (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/@tanstack+start@1.86.1_@libsql+client@0.14.0_@types+node@22.10.1_drizzle-orm@0.36.4_@libsql+c_gs2ezffwnrmle436t66wwrlkfm/node_modules/@tanstack/start/src/server/StartServer.tsx:11:9)
- Error in renderToPipeableStream: Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
- at renderElement (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6120:9)
- at renderNodeDestructiveImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
- at renderNodeDestructive (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
- at renderIndeterminateComponent (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
- at renderElement (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
- at renderNodeDestructiveImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
- at renderNodeDestructive (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
- at renderIndeterminateComponent (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
- at renderElement (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
- at renderNodeDestructiveImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
- at renderNodeDestructive (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
- at renderNode (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
- at renderChildrenArray (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6288:7)
- at renderNodeDestructiveImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6218:7)
- at renderNodeDestructive (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
- at renderElement (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6048:9)
- at renderNodeDestructiveImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
- at renderNodeDestructive (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
- at renderIndeterminateComponent (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
- at renderElement (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
- at renderMemo (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5945:3)
- at renderElement (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6088:11)
- at renderNodeDestructiveImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
- at renderNodeDestructive (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
- at finishClassComponent (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5754:3)
- at renderClassComponent (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5762:3)
- at renderElement (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6020:7)
- at renderNodeDestructiveImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
- at renderNodeDestructive (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
- at renderIndeterminateComponent (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
- at renderElement (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
- at renderNodeDestructiveImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
- at renderNodeDestructive (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
- at renderIndeterminateComponent (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
- at renderElement (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
- at renderNodeDestructiveImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
- at renderNodeDestructive (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
- at renderElement (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6048:9)
- at renderNodeDestructiveImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
- at renderNodeDestructive (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
- at renderIndeterminateComponent (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
- at renderElement (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
- at renderNodeDestructiveImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
- at renderNodeDestructive (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
- at renderElement (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6048:9)
- at renderNodeDestructiveImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
- at renderNodeDestructive (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
- at renderIndeterminateComponent (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
- at renderElement (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
- at renderNodeDestructiveImpl (/home/admin/Coding/cleric/atproto/v1/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) undefined
- ////////////////
- // __root.tsx //
- ////////////////
- import {
- Outlet,
- ScrollRestoration,
- createRootRoute,
- } from '@tanstack/react-router'
- import { Body, Head, Html, Meta, Scripts } from '@tanstack/start'
- import type { ReactNode } from 'react'
- export const Route = createRootRoute({
- meta: () => [
- {
- charSet: 'utf-8',
- },
- {
- name: 'viewport',
- content: 'width=device-width, initial-scale=1',
- },
- {
- title: 'TanStack Start Starter',
- },
- ],
- component: RootComponent,
- notFoundComponent: () => <div>Not Found sorry</div>
- })
- function RootComponent() {
- return (
- <RootDocument>
- <Outlet />
- </RootDocument>
- )
- }
- function RootDocument({ children }: Readonly<{ children: ReactNode }>) {
- return (
- <Html>
- <Head>
- <Meta />
- </Head>
- <Body>
- {children}
- <ScrollRestoration />
- <Scripts />
- </Body>
- </Html>
- )
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement