Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/homepage/commit/e663994c9b63b850331f6508d1dd86562e16a8a1?style=split&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
2 additions and
2 deletions
@ -4,7 +4,7 @@ import classNames from "classnames";
import { TabContext } from "utils/contexts/tab" ;
import { TabContext } from "utils/contexts/tab" ;
export function slugify ( tabName ) {
export function slugify ( tabName ) {
return tabName ? encodeURIComponent ( tabName . toString ( ) . replace ( /\s+/g , '-' ) . toLowerCase ( ) ) : ''
return tabName !== undefined ? encodeURIComponent ( tabName . toString ( ) . replace ( /\s+/g , '-' ) . toLowerCase ( ) ) : ''
}
}
export default function Tab ( { tab } ) {
export default function Tab ( { tab } ) {
@ -239,7 +239,7 @@ function Home({ initialSettings }) {
const tabs = useMemo ( ( ) => [
const tabs = useMemo ( ( ) => [
... new Set (
... new Set (
Object . keys ( settings . layout ? ? { } ) . map (
Object . keys ( settings . layout ? ? { } ) . map (
( groupName ) => settings . layout [ groupName ] ? . tab
( groupName ) => settings . layout [ groupName ] ? . tab ? . toString ( )
) . filter ( group => group )
) . filter ( group => group )
)
)
] , [ settings . layout ] ) ;
] , [ settings . layout ] ) ;