#Unhandled Runtime ErrorError: Convex functions should not be imported in the browser.
4 messages · Page 1 of 1 (latest)
Hint is that some browser code seems to be importing convex/documents.ts
Any code shared between the browser and server shouldn’t expose server-side functions.
@steel fjord thanks a lot. Yeah I've been importing code from '@convex/documents' but until a week ago it did not cause problem
import { updateDoc } from '@/convex/documents' xd