Skip to content

Commit

Permalink
does taking them out of prerender make the connection work?
Browse files Browse the repository at this point in the history
  • Loading branch information
chantastic committed Mar 23, 2024
1 parent 747960f commit 55c0d05
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions chan.dev/src/pages/chores/rock.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ const habits = await db
.from(Habit)
.where(eq(Habit.owner, 'Rock'))
export const prerender = false
const chore_data = habits.map(
(habit: {
id: number
Expand Down
2 changes: 0 additions & 2 deletions chan.dev/src/pages/chores/ruby.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import Layout from '#layouts/Layout.astro'
import Prose from '#components/prose.astro'
import {db, Habit, eq} from 'astro:db'
export const prerender = false
const habits = await db
.select()
.from(Habit)
Expand Down

0 comments on commit 55c0d05

Please sign in to comment.