mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 11:55:01 +03:00
Removed success toast on 1-click subscribe (#18119)
refs https://github.com/TryGhost/Product/issues/3880
This commit is contained in:
parent
e888a4e820
commit
b5ab3af8a6
@ -477,7 +477,7 @@ async function updateProfile({data, state, api}) {
|
||||
|
||||
async function oneClickSubscribe({data: {siteUrl}, state}) {
|
||||
const externalSiteApi = setupGhostApi({siteUrl: siteUrl, apiUrl: 'not-defined', contentApiKey: 'not-defined'});
|
||||
const {t, member} = state;
|
||||
const {member} = state;
|
||||
|
||||
const referrerUrl = window.location.href;
|
||||
const referrerSource = getRefDomain();
|
||||
@ -498,17 +498,7 @@ async function oneClickSubscribe({data: {siteUrl}, state}) {
|
||||
]
|
||||
});
|
||||
|
||||
return {
|
||||
popupNotification: createPopupNotification({
|
||||
type: 'subscribe:success',
|
||||
autoHide: true,
|
||||
closeable: true,
|
||||
duration: 10000,
|
||||
status: 'success',
|
||||
state,
|
||||
message: t(`To complete signup, click the confirmation link in your inbox. If it doesn't arrive within 3 minutes, check your spam folder!`)
|
||||
})
|
||||
};
|
||||
return {};
|
||||
}
|
||||
|
||||
const Actions = {
|
||||
|
Loading…
Reference in New Issue
Block a user