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

View File

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