mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-05-06 00:32:35 +00:00
fix(design-system): fix some button styling issues leaking link styles in (#176)
This commit is contained in:
parent
f24d2fcc99
commit
410e27c2b3
3 changed files with 10 additions and 7 deletions
|
@ -1,3 +1,4 @@
|
|||
import { navigate } from '@reach/router';
|
||||
import { Avatar, utils } from '@roleypoly/design-system/atoms/avatar';
|
||||
import { Button } from '@roleypoly/design-system/atoms/button';
|
||||
import { DotOverlay } from '@roleypoly/design-system/atoms/dot-overlay';
|
||||
|
@ -61,7 +62,7 @@ const adminMessage = (id: string) => (
|
|||
</FlexLine>
|
||||
<FlexLine>
|
||||
<div>
|
||||
<CompletelyStylelessLink to={`/machinery/bot-join?id=${id}`}>
|
||||
<CompletelyStylelessLink to={`/machinery/bot-join/${id}`}>
|
||||
<Button color="discord" icon={<FaDiscord />}>
|
||||
Add Roleypoly
|
||||
</Button>
|
||||
|
@ -78,7 +79,7 @@ const managerMessage = (id: string) => (
|
|||
</FlexLine>
|
||||
<FlexLine>
|
||||
<div>
|
||||
<a href={`/machinery/bot-join?id=${id}`}>
|
||||
<a href={`/machinery/bot-join/${id}`}>
|
||||
<Button color="discord" icon={<FaDiscord />}>
|
||||
Add Roleypoly
|
||||
</Button>
|
||||
|
@ -99,7 +100,7 @@ const userMessage = (name: string) => {
|
|||
<FlexLine>
|
||||
<Button
|
||||
onClick={() => {
|
||||
// void router.push('/');
|
||||
navigate(-1);
|
||||
}}
|
||||
color="muted"
|
||||
size="small"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue