1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01:00

fix: revert link changes (#8425)

Making them absolute appears to break them. Reverting to relative links.
This commit is contained in:
Thomas Heartman 2024-10-11 08:09:31 +02:00 committed by GitHub
parent 7c5fab518f
commit 4c8aef58ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ export const CreateFlag: FC<{ project: string }> = ({ project }) => {
</div> </div>
<div> <div>
<Button <Button
href={`/projects/${project}`} href={`projects/${project}`}
onClick={() => { onClick={() => {
trackEvent('personal-dashboard', { trackEvent('personal-dashboard', {
props: { props: {
@ -115,7 +115,7 @@ export const ConnectSDK: FC<{ project: string }> = ({ project }) => {
</p> </p>
</div> </div>
<div> <div>
<Button href={`/projects/${project}`} variant='contained'> <Button href={`projects/${project}`} variant='contained'>
Go to project Go to project
</Button> </Button>
</div> </div>

View File

@ -70,7 +70,7 @@ const FlagListItem: FC<{
} }
}, []); }, []);
const IconComponent = getFeatureTypeIcons(flag.type); const IconComponent = getFeatureTypeIcons(flag.type);
const flagLink = `/projects/${flag.project}/features/${flag.name}`; const flagLink = `projects/${flag.project}/features/${flag.name}`;
return ( return (
<ListItem <ListItem
key={flag.name} key={flag.name}