chore: ugprade snjs deps (#898)
This commit is contained in:
@@ -37,9 +37,9 @@ export const SignInPane: FunctionComponent<Props> = observer(
|
||||
if (emailInputRef?.current) {
|
||||
emailInputRef.current?.focus();
|
||||
}
|
||||
if (isDev && window._devAccountEmail) {
|
||||
setEmail(window._devAccountEmail);
|
||||
setPassword(window._devAccountPassword as string);
|
||||
if (isDev && window.devAccountEmail) {
|
||||
setEmail(window.devAccountEmail);
|
||||
setPassword(window.devAccountPassword as string);
|
||||
}
|
||||
}, []);
|
||||
|
||||
|
||||
@@ -30,8 +30,8 @@ export const PremiumFeaturesModal: FunctionalComponent<Props> = ({
|
||||
const handleClick = () => {
|
||||
if (hasSubscription) {
|
||||
openSubscriptionDashboard(application);
|
||||
} else if (window._plans_url) {
|
||||
window.location.assign(window._plans_url);
|
||||
} else if (window.plansUrl) {
|
||||
window.location.assign(window.plansUrl);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -49,8 +49,8 @@ export const RevisionContentLocked: FunctionComponent<{
|
||||
type="primary"
|
||||
label="Discover plans"
|
||||
onClick={() => {
|
||||
if (window._plans_url) {
|
||||
window.location.assign(window._plans_url);
|
||||
if (window.plansUrl) {
|
||||
window.location.assign(window.plansUrl);
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user