remove additional code && fix bug select city and state && alert success and error message for comment in doctors page && handle set data after user searched in field doctors page && set data appointment from doctor data && set value in field search after user reload in doctors page
This commit is contained in:
@@ -460,3 +460,8 @@ export function timeAgo(timestamp) {
|
||||
return `${years} سال پیش`;
|
||||
}
|
||||
}
|
||||
|
||||
export function isUserLoggedIn() {
|
||||
const userInfo = Cookies.get("userInfo");
|
||||
return !!userInfo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user