fix(onboarding): add error recovery for setupIntegrations failure

If setupIntegrations rejects, fall back to the select phase instead
of leaving the user stuck on an infinite loading screen. Also fix
OpenCollective bookmark icon to use dashboard-icons CDN SVG for
consistency with other bookmark icons.
This commit is contained in:
Thomas Camlong committed 2026-05-14 18:20:19 +02:00
1 parent 8de443768e
commit 6364e4181b
2 files changed
+7 -3

No files matched your search

@@ -38,8 +38,12 @@ export const InitIntegrations = () => {
const finishSetupAsync = async () => {
setPhase("done");
await setupIntegrations();
router.refresh();
try {
await setupIntegrations();
router.refresh();
} catch {
setPhase("select");
}
};
const advanceOrFinish = () => {
@@ -96,6 +96,6 @@ export const defaultBookmarkApps = [
{
name: "Support Homarr",
href: "https://opencollective.com/homarr",
iconUrl: "https://avatars.githubusercontent.com/u/13403593?v=4",
iconUrl: "https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/svg/open-collective.svg",
},
];