commit
5985c65cee
@ -45,10 +45,7 @@ export const urlHasParams = (url) =>
|
|||||||
export const urlForLocal = (url) =>
|
export const urlForLocal = (url) =>
|
||||||
process.env.NODE_ENV === "development" ? `https://itguild.info${url}` : url;
|
process.env.NODE_ENV === "development" ? `https://itguild.info${url}` : url;
|
||||||
|
|
||||||
export const backendImg = (url) =>
|
export const backendImg = (url) => `https://back.itguild.info${url}`;
|
||||||
process.env.NODE_ENV === "development"
|
|
||||||
? `https://back.itguild.info${url}`
|
|
||||||
: url;
|
|
||||||
|
|
||||||
export function scrollToForm() {
|
export function scrollToForm() {
|
||||||
window.scrollTo({
|
window.scrollTo({
|
||||||
|
Loading…
Reference in New Issue
Block a user