I am trying to get neon serverless working inside a typescript component
[astro-island] Error hydrating /src/components/Guestbook.tsx Error: No database connection string was provided to `neon()`. Perhaps an environment variable has not been set?
Xs index.mjs:1524
<anonymous> neon.ts:4
my neon.ts is as follows
import { neon } from '@neondatabase/serverless';
export const sql = neon(import.meta.env.NEON_DATABASE_URL);
it was working at some point when i changed env to PUBLIC_NEON_DATABASE_URL but as you might guess i don't want it to be like that