--- import { creatorColor, formatTime } from '../lib/util'; export interface Props { id: string; date: number; creator: string; box: string; board: string } const { id, date, creator, box, board = '' } = Astro.props; ---
{(board != '') ? ( {id} ) : ( {id} )} at {formatTime(date)}
-> {creator}