Skip to content

Convert more tables to useQueryTable2 - #2111

Merged
david-crespo merged 7 commits into
mainfrom
convert-more-tables
Mar 29, 2024
Merged

david-crespo merged 7 commits into
mainfrom
convert-more-tables

Conversation

@david-crespo

@david-crespo david-crespo commented Mar 29, 2024 •

Copy link
Copy Markdown
Collaborator

@vercel

vercel Bot commented Mar 29, 2024 •

Copy link
Copy Markdown

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

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Mar 29, 2024 8:57pm


export const defaultCell = <T, U extends React.ReactNode>(props: CellContext<T, U>) => (
<span className="text-secondary">{props.getValue()}</span>
)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Turns out we don't need this. Worth keeping an eye out for situations where it behaves differently because it's not in a span, but that seems pretty unlikely.

& th,
& td {
min-width: fit-content;
white-space: nowrap;
@apply text-secondary;
}

@david-crespo
david-crespo marked this pull request as ready for review March 29, 2024 20:57
@david-crespo
david-crespo enabled auto-merge (squash) March 29, 2024 20:57
@david-crespo
david-crespo merged commit 4db8d83 into main Mar 29, 2024
@david-crespo
david-crespo deleted the convert-more-tables branch March 29, 2024 21:06

This branch was successfully deployed

1 active deployment
Preview — 0f4836a9 Deployed Mar 29, 2024 by vercel[bot]
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.

2 participants