Modal fix in header
This commit is contained in:
@@ -68,7 +68,6 @@ const App = (message, props) => {
|
|||||||
const [isLoggedIn, setIsLoggedIn] = useState(false)
|
const [isLoggedIn, setIsLoggedIn] = useState(false)
|
||||||
const [dataset, setDataset] = useState(false)
|
const [dataset, setDataset] = useState(false)
|
||||||
const [isLoaded, setIsLoaded] = useState(false)
|
const [isLoaded, setIsLoaded] = useState(false)
|
||||||
const [modalOpen, setModalOpen] = useState(false)
|
|
||||||
const [curpath, setCurpath] = useState(typeof window === "undefined" || window.location === undefined ? "" : window.location.pathname)
|
const [curpath, setCurpath] = useState(typeof window === "undefined" || window.location === undefined ? "" : window.location.pathname)
|
||||||
|
|
||||||
|
|
||||||
@@ -206,8 +205,6 @@ const App = (message, props) => {
|
|||||||
isLoggedIn={isLoggedIn}
|
isLoggedIn={isLoggedIn}
|
||||||
userdata={userdata}
|
userdata={userdata}
|
||||||
|
|
||||||
setModalOpen={setModalOpen}
|
|
||||||
modalOpen={modalOpen}
|
|
||||||
curpath={curpath}
|
curpath={curpath}
|
||||||
serverside={false}
|
serverside={false}
|
||||||
isMobile={false}
|
isMobile={false}
|
||||||
|
|||||||
Reference in New Issue
Block a user