Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't hardcode the images #146

Open
github-actions bot opened this issue May 16, 2023 · 0 comments
Open

don't hardcode the images #146

github-actions bot opened this issue May 16, 2023 · 0 comments
Labels

Comments

@github-actions
Copy link

don't hardcode the images

// TODO: don't hardcode the images

export default async function Page() {
  const cardsPromise = await getAllCards({ limit: 12 })
  // TODO: don't hardcode the images
  const filesPromise = Promise.all([573, 571, 572].map(async (file) => await getFile(file)))

  const [cards, files] = await Promise.all([cardsPromise, filesPromise])

  return (
    // <main className="relative">

79f27bf64220e1d108caa08c722b40467e170f02

@github-actions github-actions bot added the todo label May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants