fix: func param order

This commit is contained in:
Mo Bitar
2021-10-07 08:08:38 -05:00
parent b015346f1a
commit 92699d23f4
2 changed files with 4 additions and 5 deletions

View File

@@ -19,7 +19,6 @@ export const NoSubscription: FunctionalComponent<{
if (url) {
const currentUrl = window.location.href;
const successUrl = isDesktopApplication() ? `standardnotes://${currentUrl}` : currentUrl;
console.log(successUrl);
window.location.assign(`${url}&success_url=${successUrl}`);
} else {
setPurchaseFlowError(errorMessage);