Browse Source

#99

feature/099
みてるぞ 1 week ago
parent
commit
63d7e5708e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      frontend/src/pages/materials/MaterialListPage.tsx

+ 2
- 2
frontend/src/pages/materials/MaterialListPage.tsx View File

@@ -27,7 +27,7 @@ const MaterialCard = ({ tag }: { tag: TagWithMaterial }) => {

return (
<PrefetchLink
to={`/materials/${ tag.material.id }/edit`}
to={`/materials/${ tag.material.id }`}
className="block w-40 h-40">
<div
className="w-full h-full overflow-hidden rounded-xl shadow
@@ -95,7 +95,7 @@ export default (() => {
withWiki={false}
withCount={false}
to={tag.material
? `/materials/${ tag.material.id }/edit`
? `/materials/${ tag.material.id }`
: `/materials?tag=${ encodeURIComponent (tag.name) }`}/>
</PageTitle>
{(!(tag.material) && tag.category !== 'meme') && (


Loading…
Cancel
Save