fix: prefixpath and link href in all filter

This commit is contained in:
Sabda Yagra 2025-09-26 10:16:00 +07:00
parent 5e82ee8085
commit a96ab8590a
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ const ContentCategory = (props: { group?: string; type: string }) => {
? `/polda/${poldaName}`
: satkerName
? `/satker/${satkerName}`
: "/";
: "";
useEffect(() => {
initFetch();

View File

@ -99,7 +99,7 @@ const Navbar = () => {
? `/polda/${poldaName}`
: satkerName
? `/satker/${satkerName}`
: "/";
: "";
let menu = "";

View File

@ -56,7 +56,7 @@ const NewContent = (props: { group: string; type: string }) => {
? `/polda/${poldaName}`
: satkerName
? `/satker/${satkerName}`
: "/";
: "";
useEffect(() => {
const timer = setTimeout(() => {