Compare commits

..

No commits in common. "936cc7bc92af2ad21264de6019fae790e4893775" and "cf290b0bc87e0bee5aefdfff66d086213fe56cdc" have entirely different histories.

View File

@ -241,7 +241,7 @@ export default function Header(props) {
e.preventDefault() // e.preventDefault() //
e.stopPropagation() // e.stopPropagation() //
swalFire({ swalFire({
text : getMessage('common.link.confirm'), // text : getMessage(common.link.confirm), //
type : 'confirm', type : 'confirm',
confirmFn: () => { confirmFn: () => {
// //
@ -323,28 +323,14 @@ export default function Header(props) {
<h1 className="logo"> <h1 className="logo">
<Link <Link
href={'/'} href={'/'}
onClick={(e) => { onClick={() => {
setStuffSearch({ setStuffSearch({
...stuffSearch, ...stuffSearch,
code: 'DELETE', code: 'DELETE',
}) })
if (pathName === '/') { if (pathName === '/') {
window.location.reload() window.location.reload()
} else if(pathName === '/floor-plan') {
e.preventDefault() //
e.stopPropagation() //
swalFire({
text: getMessage('common.link.confirm'), //
type: 'confirm',
confirmFn: () => {
//
//removeStuffRecoil(m)
router.push('/')
} }
})
}
}} }}
></Link> ></Link>
</h1> </h1>