fix: encode URI components in API calls and links to ensure proper formatting
This commit is contained in:
@@ -24,6 +24,6 @@ export const getPremiumAttribute = (parameters: TGetPremiumAttribute) => {
|
||||
|
||||
return {
|
||||
as: Link,
|
||||
to: `/detail/${slug}`,
|
||||
to: `/detail/${encodeURIComponent(slug)}`,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user