#141 feat: ランダム抽出のバグ修正(#132)

Merged
みてるぞ merged 1 commits from feature/132 into main 1 week ago
  1. +1
    -1
      frontend/src/components/TagSidebar.tsx

+ 1
- 1
frontend/src/components/TagSidebar.tsx View File

@@ -79,7 +79,7 @@ export default (({ posts }: Props) => {
try
{
const { data } = await axios.get (`${ API_BASE_URL }/posts/random`,
{ params: { tags: tagsQuery.split (' ').filter (e => e !== '').join (','),
{ params: { tags: tagsQuery.split (' ').filter (e => e !== '').join (' '),
match: (anyFlg ? 'any' : 'all') } })
navigate (`/posts/${ (data as Post).id }`)
}


Loading…
Cancel
Save