import React, {useState} from "react"; function range(start:number, end:number) { return (new Array(end - start + 1)).fill(undefined).map((_, i) => i + start); } export default function BoardPage() { <<<<<<< HEAD const imgs = range(1,8); //[1,2,3,4,5,6,7] ======= const ords = range(1,8); //[1,2,3,4,5,6,7]; const [count, setCount] = useState(0); >>>>>>> a7056a6986765dfc1269fbf0543c54a1e14a9ac7 return (
`Travel Report's Board`
`여행지 후기를 남겨주세요!`
Board
{ords.map((ord, index) => (
{ord}
{/*title */}
date
{count}
))}
); }