This commit is contained in:
2026-04-07 01:00:06 +09:00
parent e38c3cffd6
commit 63d7e5708e
@@ -27,7 +27,7 @@ const MaterialCard = ({ tag }: { tag: TagWithMaterial }) => {
return ( return (
<PrefetchLink <PrefetchLink
to={`/materials/${ tag.material.id }/edit`} to={`/materials/${ tag.material.id }`}
className="block w-40 h-40"> className="block w-40 h-40">
<div <div
className="w-full h-full overflow-hidden rounded-xl shadow className="w-full h-full overflow-hidden rounded-xl shadow
@@ -95,7 +95,7 @@ export default (() => {
withWiki={false} withWiki={false}
withCount={false} withCount={false}
to={tag.material to={tag.material
? `/materials/${ tag.material.id }/edit` ? `/materials/${ tag.material.id }`
: `/materials?tag=${ encodeURIComponent (tag.name) }`}/> : `/materials?tag=${ encodeURIComponent (tag.name) }`}/>
</PageTitle> </PageTitle>
{(!(tag.material) && tag.category !== 'meme') && ( {(!(tag.material) && tag.category !== 'meme') && (