feat: redirect to unit page if the hit or its parent is a unit (#957)

This change adds the feature to redirect from a search result to a Unit, in case the hit parent is a Unit, or the hit is a unit itself.
This commit is contained in:
Rômulo Penido
2024-04-29 11:20:12 -03:00
committed by GitHub
parent 9327948b61
commit e24fb7889e
9 changed files with 517 additions and 72 deletions

5
src/custom.d.ts vendored
View File

@@ -2,3 +2,8 @@ declare module '*.svg' {
const content: string;
export default content;
}
declare module '*.json' {
const value: any;
export default value;
}