mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix link
This commit is contained in:
@@ -38,7 +38,8 @@ const BoardsList = ({ multisub }: { multisub: DirectoryCommunity[] }) => {
|
||||
const handleLinkClick = (e: React.MouseEvent<HTMLAnchorElement>, address: string) => {
|
||||
e.preventDefault();
|
||||
const boardPath = getBoardPath(address, directories);
|
||||
showDisclaimerModal(address, navigate, boardPath);
|
||||
const targetPath = boardPath + (useCatalogLinks ? '/catalog' : '');
|
||||
showDisclaimerModal(address, navigate, targetPath);
|
||||
};
|
||||
|
||||
// Helper to generate link URL with optional catalog suffix
|
||||
|
||||
Reference in New Issue
Block a user