replce isSigner variable name to isGuestSigner

This commit is contained in:
RaktimaNXG
2023-11-09 14:23:56 +05:30
parent 5fa60d8135
commit 5ba1f79f3b
4 changed files with 13 additions and 13 deletions
@@ -37,7 +37,7 @@ function Header({
}) {
const isMobile = window.innerWidth < 767;
const navigate = useNavigate();
const isSigner = localStorage.getItem("isSigner");
const isGuestSigner = localStorage.getItem("isGuestSigner");
//for go to previous page
function previousPage() {
changePage(-1);
@@ -81,15 +81,15 @@ function Header({
return (
<div
style={{ padding: !isSigner && "5px 0px 5px 0px" }}
style={{ padding: !isGuestSigner && "5px 0px 5px 0px" }}
className="mobileHead"
>
{isMobile && isShowHeader ? (
<div
id="navbar"
className={isSigner ? "stickySignerHead" : "stickyHead"}
className={isGuestSigner ? "stickySignerHead" : "stickyHead"}
style={{
width: isSigner ? window.innerWidth : window.innerWidth - 30 + "px"
width: isGuestSigner ? window.innerWidth : window.innerWidth - 30 + "px"
}}
>
<div className="preBtn2">