This commit is contained in:
@@ -129,7 +129,7 @@ const TopNav: React.FC = ({ user, setUser }: Props) => {
|
||||
{/^\/wiki\/(?!new|changes)[^\/]+/.test (location.pathname) &&
|
||||
<>
|
||||
<Separator />
|
||||
<Link to={`/posts?tags=${ location.pathname.split ('/')[2] }`} className={subClass}>投稿</Link>
|
||||
<Link to={`/posts?tags=${ location.pathname.split ('/')[2] }`} className={subClass}>広場</Link>
|
||||
<Link to={`/wiki/changes?id=${ wikiId }`} className={subClass}>履歴</Link>
|
||||
<Link to={`/wiki/${ wikiId || location.pathname.split ('/')[2] }/edit`} className={subClass}>編輯</Link>
|
||||
</>}
|
||||
|
||||
Reference in New Issue
Block a user