приветсвенное сообщение при применении промокода фастлинк

This commit is contained in:
Tamara 2024-05-12 17:17:06 +03:00
parent 9693572f5e
commit 686c9316ce

@ -53,7 +53,7 @@ export function CheckFastlink() {
contentType: true, contentType: true,
body: { fastLink: promocode }, body: { fastLink: promocode },
}); });
enqueueSnackbar("Промокод успешно применён"); enqueueSnackbar(response.greetings !== "" ? response.greetings : "Промокод успешно активирован");
localStorage.setItem("fl", ""); localStorage.setItem("fl", "");
const controller = new AbortController(); const controller = new AbortController();
const responseAccount = await makeRequest<never, any>({ const responseAccount = await makeRequest<never, any>({