Refactor hooks to be easier to use

This commit is contained in:
Gregory Schier
2023-03-13 23:25:41 -07:00
parent aa66f957f2
commit 5f947ac983
19 changed files with 314 additions and 258 deletions

View File

@@ -8,7 +8,7 @@ export default function Workspaces() {
return (
<VStack as="ul" className="p-12">
<Heading>Workspaces</Heading>
{workspaces.data?.map((w) => (
{workspaces.map((w) => (
<ButtonLink key={w.id} color="gray" to={`/workspaces/${w.id}`}>
{w.name}
</ButtonLink>