Skip to content

Commit f7cdb2b

Browse files
authored
fix: link to connected apps rather than app store (#1667)
fix: link to connected apps rather than app store (link alby account, connect success, app cleanup)
1 parent 2bd8ebd commit f7cdb2b

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

frontend/src/hooks/useOnboardingData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export const useOnboardingData = (): UseOnboardingDataResponse => {
7676
description:
7777
"Link your lightning address & other apps to this Hub.",
7878
checked: isLinked,
79-
to: "/apps",
79+
to: "/apps?tab=connected-apps",
8080
},
8181
]
8282
: []),

frontend/src/screens/apps/AppCreated.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function AppCreatedInternal() {
5555
toast("Connection established!", {
5656
description: "You can now use the app with your Alby Hub.",
5757
});
58-
navigate("/apps");
58+
navigate("/apps?tab=connected-apps");
5959
}
6060
}, [app?.lastUsedAt, navigate]);
6161

frontend/src/screens/apps/AppsCleanup.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ export function AppsCleanup() {
108108
<>
109109
<div>No more unused apps to review.</div>
110110
<div>
111-
<LinkButton to="/apps">Back to overview</LinkButton>
111+
<LinkButton to="/apps?tab=connected-apps">
112+
Back to overview
113+
</LinkButton>
112114
</div>
113115
</>
114116
)}

frontend/src/screens/channels/first/FirstChannel.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -368,11 +368,7 @@ export function FirstChannel() {
368368
This channel comes free with your Alby Pro subscription
369369
</p>
370370
)}
371-
<LoadingButton
372-
loading={isLoading}
373-
onClick={openChannel}
374-
className="gap-0"
375-
>
371+
<LoadingButton loading={isLoading} onClick={openChannel}>
376372
{lspChannelOffer.currentPaymentMethod === "prepaid" ? (
377373
<>Continue</>
378374
) : lspChannelOffer.currentPaymentMethod === "included" ? (

0 commit comments

Comments
 (0)