Skip to content

Conversation

@vercel
Copy link

vercel bot commented Nov 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Nov 23, 2024 0:17am

),
})
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This (and useApiQueries) wasn't used. I kept it around in case we needed it again, but I think if we wanted this now, we'd use the query options helper with map and pass the resulting array of options objects to the built-in useQueries.

@david-crespo david-crespo enabled auto-merge (squash) November 23, 2024 00:19
? R extends Record<string, unknown>
? R
: never
: never
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ResultItem was only used by the old QueryTable, I think.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oof; that's an ugly one

@david-crespo
Copy link
Collaborator Author

The test that failed in Chrome failed twice the same way. It passes locally, but the flake might still be an indicator of something, like maybe I introduced some extra renders that were previously optimized out. Though it would have to come from a a previous PR because one doesn't change any runtime code that's actually used.

image

@david-crespo david-crespo merged commit 653b572 into main Nov 23, 2024
8 checks passed
@david-crespo david-crespo deleted the clean-up-api-hooks branch November 23, 2024 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants