Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions apps/events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,34 +14,26 @@
"dependencies": {
"@automerge/automerge": "^2.2.8",
"@automerge/automerge-repo-react-hooks": "^1.2.1",
"effect": "^3.10.12",
"@noble/hashes": "^1.5.0",
"@privy-io/react-auth": "^1.88.4",
"@radix-ui/react-avatar": "^1.1.1",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-slot": "^1.1.0",
"@tanstack/react-router": "^1.62.1",
"@types/libsodium-wrappers": "^0.7.14",
"@xmtp/react-sdk": "^9.0.0",
"@xmtp/xmtp-js": "^13.0.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"effect": "^3.10.12",
"ethers": "^6.13.3",
"graph-framework": "workspace:*",
"libsodium-wrappers": "^0.7.15",
"lucide-react": "^0.441.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-yjs": "^2.0.0",
"secsync": "^0.5.0",
"secsync-react-devtool": "^0.5.0",
"secsync-react-yjs": "^0.5.0",
"tailwind-merge": "^2.5.3",
"tailwindcss-animate": "^1.0.7",
"tinybase": "^5.3.0",
"uuid": "^10.0.0",
"vite-plugin-node-polyfills": "^0.22.0",
"yjs": "^13.6.19"
"vite-plugin-node-polyfills": "^0.22.0"
},
"devDependencies": {
"@eslint/js": "^9.12.0",
Expand Down
14 changes: 2 additions & 12 deletions apps/events/src/Boot.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { PrivyProvider } from "@privy-io/react-auth";
import { RouterProvider, createRouter } from "@tanstack/react-router";
import { ready } from "libsodium-wrappers";
import { useEffect, useState } from "react";

import { routeTree } from "./routeTree.gen";

Expand All @@ -16,15 +14,7 @@ declare module "@tanstack/react-router" {
}

export function Boot() {
// only return the App component when the libsodium-wrappers is ready
const [isReady, setIsReady] = useState(false);
useEffect(() => {
ready.then(() => {
setIsReady(true);
});
}, []);

return isReady ? (
return (
<PrivyProvider
appId="cm1gt9i1b002g12ih6b6l4vvi"
config={{
Expand All @@ -43,5 +33,5 @@ export function Boot() {
>
<RouterProvider router={router} />
</PrivyProvider>
) : null;
);
}
86 changes: 0 additions & 86 deletions apps/events/src/components/events-page.tsx

This file was deleted.

26 changes: 0 additions & 26 deletions apps/events/src/routeTree.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import { Route as Schema2Import } from './routes/schema2'
import { Route as PlaygroundImport } from './routes/playground'
import { Route as IndexImport } from './routes/index'
import { Route as SpaceSpaceIdImport } from './routes/space/$spaceId'
import { Route as SpaceOldSpaceIdImport } from './routes/space-old/$spaceId'

// Create Virtual Routes

Expand Down Expand Up @@ -62,12 +61,6 @@ const SpaceSpaceIdRoute = SpaceSpaceIdImport.update({
getParentRoute: () => rootRoute,
} as any)

const SpaceOldSpaceIdRoute = SpaceOldSpaceIdImport.update({
id: '/space-old/$spaceId',
path: '/space-old/$spaceId',
getParentRoute: () => rootRoute,
} as any)

// Populate the FileRoutesByPath interface

declare module '@tanstack/react-router' {
Expand Down Expand Up @@ -107,13 +100,6 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof Login2LazyImport
parentRoute: typeof rootRoute
}
'/space-old/$spaceId': {
id: '/space-old/$spaceId'
path: '/space-old/$spaceId'
fullPath: '/space-old/$spaceId'
preLoaderRoute: typeof SpaceOldSpaceIdImport
parentRoute: typeof rootRoute
}
'/space/$spaceId': {
id: '/space/$spaceId'
path: '/space/$spaceId'
Expand All @@ -132,7 +118,6 @@ export interface FileRoutesByFullPath {
'/schema2': typeof Schema2Route
'/login': typeof LoginLazyRoute
'/login2': typeof Login2LazyRoute
'/space-old/$spaceId': typeof SpaceOldSpaceIdRoute
'/space/$spaceId': typeof SpaceSpaceIdRoute
}

Expand All @@ -142,7 +127,6 @@ export interface FileRoutesByTo {
'/schema2': typeof Schema2Route
'/login': typeof LoginLazyRoute
'/login2': typeof Login2LazyRoute
'/space-old/$spaceId': typeof SpaceOldSpaceIdRoute
'/space/$spaceId': typeof SpaceSpaceIdRoute
}

Expand All @@ -153,7 +137,6 @@ export interface FileRoutesById {
'/schema2': typeof Schema2Route
'/login': typeof LoginLazyRoute
'/login2': typeof Login2LazyRoute
'/space-old/$spaceId': typeof SpaceOldSpaceIdRoute
'/space/$spaceId': typeof SpaceSpaceIdRoute
}

Expand All @@ -165,7 +148,6 @@ export interface FileRouteTypes {
| '/schema2'
| '/login'
| '/login2'
| '/space-old/$spaceId'
| '/space/$spaceId'
fileRoutesByTo: FileRoutesByTo
to:
Expand All @@ -174,7 +156,6 @@ export interface FileRouteTypes {
| '/schema2'
| '/login'
| '/login2'
| '/space-old/$spaceId'
| '/space/$spaceId'
id:
| '__root__'
Expand All @@ -183,7 +164,6 @@ export interface FileRouteTypes {
| '/schema2'
| '/login'
| '/login2'
| '/space-old/$spaceId'
| '/space/$spaceId'
fileRoutesById: FileRoutesById
}
Expand All @@ -194,7 +174,6 @@ export interface RootRouteChildren {
Schema2Route: typeof Schema2Route
LoginLazyRoute: typeof LoginLazyRoute
Login2LazyRoute: typeof Login2LazyRoute
SpaceOldSpaceIdRoute: typeof SpaceOldSpaceIdRoute
SpaceSpaceIdRoute: typeof SpaceSpaceIdRoute
}

Expand All @@ -204,7 +183,6 @@ const rootRouteChildren: RootRouteChildren = {
Schema2Route: Schema2Route,
LoginLazyRoute: LoginLazyRoute,
Login2LazyRoute: Login2LazyRoute,
SpaceOldSpaceIdRoute: SpaceOldSpaceIdRoute,
SpaceSpaceIdRoute: SpaceSpaceIdRoute,
}

Expand All @@ -223,7 +201,6 @@ export const routeTree = rootRoute
"/schema2",
"/login",
"/login2",
"/space-old/$spaceId",
"/space/$spaceId"
]
},
Expand All @@ -242,9 +219,6 @@ export const routeTree = rootRoute
"/login2": {
"filePath": "login2.lazy.tsx"
},
"/space-old/$spaceId": {
"filePath": "space-old/$spaceId.tsx"
},
"/space/$spaceId": {
"filePath": "space/$spaceId.tsx"
}
Expand Down
Loading
Loading