refactor(queries): changed dev version to be 1500ms vs 5000ms
This commit is contained in:
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
@@ -56,6 +56,7 @@
|
|||||||
"alplaprod",
|
"alplaprod",
|
||||||
"bookin",
|
"bookin",
|
||||||
"Datamart",
|
"Datamart",
|
||||||
|
"dotenvx",
|
||||||
"dyco",
|
"dyco",
|
||||||
"intiallally",
|
"intiallally",
|
||||||
"manadatory",
|
"manadatory",
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export function getSettings() {
|
|||||||
|
|
||||||
const fetch = async () => {
|
const fetch = async () => {
|
||||||
if (window.location.hostname === "localhost") {
|
if (window.location.hostname === "localhost") {
|
||||||
await new Promise((res) => setTimeout(res, 5000));
|
await new Promise((res) => setTimeout(res, 1500));
|
||||||
}
|
}
|
||||||
|
|
||||||
const { data } = await axios.get("/lst/api/settings");
|
const { data } = await axios.get("/lst/api/settings");
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export function notificationSubs(userId?: string) {
|
|||||||
|
|
||||||
const fetch = async (userId?: string) => {
|
const fetch = async (userId?: string) => {
|
||||||
if (window.location.hostname === "localhost") {
|
if (window.location.hostname === "localhost") {
|
||||||
await new Promise((res) => setTimeout(res, 5000));
|
await new Promise((res) => setTimeout(res, 1500));
|
||||||
}
|
}
|
||||||
|
|
||||||
const { data } = await axios.get(
|
const { data } = await axios.get(
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export function notifications() {
|
|||||||
|
|
||||||
const fetch = async () => {
|
const fetch = async () => {
|
||||||
if (window.location.hostname === "localhost") {
|
if (window.location.hostname === "localhost") {
|
||||||
await new Promise((res) => setTimeout(res, 5000));
|
await new Promise((res) => setTimeout(res, 1500));
|
||||||
}
|
}
|
||||||
|
|
||||||
const { data } = await axios.get("/lst/api/notification");
|
const { data } = await axios.get("/lst/api/notification");
|
||||||
|
|||||||
Reference in New Issue
Block a user