Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | export const dynamic = 'force-dynamic' import {pageSession} from '@/lib/guard' import {getBoard} from '@/lib/proposals' import Proposals from '@/components/Proposals' export const metadata = {title: 'Proposals'} export default async function ProposalsPage() { const {user, band, isAdmin} = await pageSession() const board = await getBoard(user.id, band) return ( <Proposals board={board} isAdmin={isAdmin} tributeTo={band.tributeTo} /> ) } |