Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/homepage/commit/ec1cf2f3ca36b8403864c75191aa06e789081c57 You should set ROOT_URL correctly, otherwise the web may not work correctly.

Resolve bad setState warning in tabprovider ()

pull/1994/head
shamoon 2 years ago committed by GitHub
parent cde8c658ae
commit ec1cf2f3ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -244,14 +244,16 @@ function Home({ initialSettings }) {
)
], [settings.layout]);
if (!activeTab) {
const initialTab = decodeURI(asPath.substring(asPath.indexOf("#") + 1));
if (initialTab !== '/') {
setActiveTab(initialTab)
} else {
setActiveTab(tabs['0'] ?? false)
useEffect(() => {
if (!activeTab) {
const initialTab = decodeURI(asPath.substring(asPath.indexOf("#") + 1));
if (initialTab !== '/') {
setActiveTab(initialTab)
} else {
setActiveTab(tabs['0'] ?? false)
}
}
}
})
const servicesAndBookmarksGroups = useMemo(() => {
const tabGroupFilter = g => g && [activeTab, undefined].includes(settings.layout?.[g.name]?.tab);

Loading…
Cancel
Save