import './env'
import { ConvexClient } from 'convex/browser'
const convexUrl = process.env.CONVEX_URL
if (!convexUrl) {
throw new Error('CONVEX_URL environment variable is not set.')
}
console.log('connecting to ', convexUrl)
const client = new ConvexClient(convexUrl)
export { client }
import './env'
import { ConvexClient } from 'convex/browser'
const convexUrl = process.env.CONVEX_URL
if (!convexUrl) {
throw new Error('CONVEX_URL environment variable is not set.')
}
console.log('connecting to ', convexUrl)
const client = new ConvexClient(convexUrl)
export { client }