File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
frontend/src/routes/(platform)/dashboard/workspace/[workspaceUuid]/settings/billing Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 23
23
import InputField from " $lib/funabashi/input-fields/InputField.svelte" ;
24
24
import type { InputFieldValidation } from " $lib/funabashi/types" ;
25
25
import Anchor from " $lib/funabashi/typography/Anchor.svelte" ;
26
- import { goto } from " $lib/navigation" ;
27
26
import {
28
27
createBillingPortalSession ,
29
28
createCheckoutSession ,
60
59
return ;
61
60
}
62
61
const { url } = response .data ;
63
- await goto ( url ) ;
62
+ window . location . href = url ;
64
63
}
65
64
66
65
async function submitRedeemCoupon() {
100
99
return ;
101
100
}
102
101
const { url } = response .data ;
103
- await goto ( url ) ;
102
+ window . location . href = url ;
104
103
}
105
104
106
105
// Unpaid user:
You can’t perform that action at this time.
0 commit comments