<LinkScroll activeClass="active" spy={true}
smooth={true}
offset={-100}
duration={500}
style={{color: "black", textDecoration: "none"}}
to={"#" + page.tags}><ListItemText id={"#" + page.tags} // здесь добавляю #
sx={{fontFamily: "Mulish"}}>{page.title}</ListItemText></LinkScroll>
error: Detected X Server version 'XServer _64a' is not supported. Supported versions are X.Org 6.9 or later, up to XServer 1.10 (default:v2:x86_64:lib32:XServer _64a:none:5.15.0-27-generic:)
Installation will not proceed.
Removing temporary directory: fglrx-install.HjRLMV
function dragHandler(e, board, item) {
e.preventDefault()
const currentIndex = currentBoard.items.indexOf(currentItem)
currentBoard.items.splice(currentIndex, 1)
const dropIndex = board.items.indexOf(item)
board.items.splice(dropIndex + 1, 0, currentItem)
setBoards(boards.map(b => {
if (b.id === board.id) {
return board
}
if (b.id === currentBoard.id) {
return currentBoard
}
return b
}))
}
function dragHandler(e, board, item) {
e.preventDefault()
const currentIndex = currentBoard.items.indexOf(currentItem)
currentBoard.items.splice(currentIndex, 1)
const dropIndex = board.items.indexOf(item)
board.items.splice(dropIndex + 1, 0, currentItem)
setBoards(boards.map(b => {
if (b.id === board.id) {
return board
}
if (b.id === currentBoard.id) {
return currentBoard
}
return b
}))
}