mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-29 13:41:51 +02:00
Refactor hooks to be easier to use
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user