import Link from "next/link";
import styles from "./styles.module.css";
export const data = [1, 2, 3, 4, 5, 6, 7, 8, 9];
export default function PostCardGrid() {
return (
With QueryString Routing, and a reload won't use the modal
{data.map((id, index) => (
{id}
))}
With Dynamic Routing, and reloads will keep the modal
{data.map((id, index) => (
{id}
))}
);
}