Merge pull request #1012 from yanyao2333/main
Add decodeURI to ListLayoutWithTags
This commit is contained in:
		| @@ -100,7 +100,7 @@ export default function ListLayoutWithTags({ | ||||
|                 {sortedTags.map((t) => { | ||||
|                   return ( | ||||
|                     <li key={t} className="my-3"> | ||||
|                       {pathname.split('/tags/')[1] === slug(t) ? ( | ||||
|                       {decodeURI(pathname.split('/tags/')[1]) === slug(t) ? ( | ||||
|                         <h3 className="inline px-3 py-2 text-sm font-bold uppercase text-primary-500"> | ||||
|                           {`${t} (${tagCounts[t]})`} | ||||
|                         </h3> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user