Some small changes

This commit is contained in:
Gregory Schier
2023-03-14 00:08:03 -07:00
parent 59f1d11e40
commit efe072c7c4
7 changed files with 80 additions and 85 deletions

View File

@@ -1,4 +1,4 @@
import { ButtonLink } from './core/ButtonLink';
import { Button } from './core/Button';
import { Heading } from './core/Heading';
import { VStack } from './core/Stacks';
import { useWorkspaces } from '../hooks/useWorkspaces';
@@ -9,9 +9,9 @@ export default function Workspaces() {
<VStack as="ul" className="p-12">
<Heading>Workspaces</Heading>
{workspaces.map((w) => (
<ButtonLink key={w.id} color="gray" to={`/workspaces/${w.id}`}>
<Button key={w.id} color="gray" to={`/workspaces/${w.id}`}>
{w.name}
</ButtonLink>
</Button>
))}
</VStack>
);