mirror of
https://github.com/20kaushik02/spotify-manager-web.git
synced 2026-01-25 16:14:06 +00:00
formatting
This commit is contained in:
@@ -11,13 +11,13 @@ const Navbar = () => {
|
||||
return (
|
||||
<nav className={styles.navbar_wrapper}>
|
||||
<StyledNavLink path="/" text="Home" />
|
||||
<StyledNavLink path="/graph" text="Graph" />
|
||||
<StyledNavLink path="/about" text="About" />
|
||||
{
|
||||
auth === true ?
|
||||
<StyledNavLink path="/logout" text="Logout" /> :
|
||||
<StyledNavLink path="/login" text="Login" />
|
||||
}
|
||||
<StyledNavLink path="/graph" text="Graph" />
|
||||
<StyledNavLink path="/about" text="About" />
|
||||
</nav>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
import { toast } from "react-toastify";
|
||||
|
||||
export const showErrorToastNotification = (message) => {
|
||||
toast.error(message || "Server Error");
|
||||
toast.error(message || "Server Error");
|
||||
};
|
||||
|
||||
export const showSuccessToastNotification = (message) => {
|
||||
toast.success(message || "Success");
|
||||
toast.success(message || "Success");
|
||||
};
|
||||
|
||||
export const showWarnToastNotification = (message) => {
|
||||
toast.warn(message || "Warning");
|
||||
toast.warn(message || "Warning");
|
||||
};
|
||||
|
||||
export const showInfoToastNotification = (message) => {
|
||||
toast.info(message || "Info");
|
||||
};
|
||||
toast.info(message || "Info");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user