This commit is contained in:
2025-07-06 19:57:20 +09:00
parent da31fe93c4
commit 191e5d3a76
22 changed files with 344 additions and 231 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
import axios from 'axios'
import React, { useEffect, useState, useRef } from 'react'
import { Helmet } from 'react-helmet'
import { Helmet } from 'react-helmet-async'
import { Link, useLocation, useParams, useNavigate } from 'react-router-dom'
import NicoViewer from '@/components/NicoViewer'
@@ -49,8 +49,8 @@ export default () => {
toast ({ title: '投稿成功!' })
navigate ('/posts')
})
.catch (e => toast ({ title: '投稿失敗',
description: '入力を確認してください。' })))
.catch (() => toast ({ title: '投稿失敗',
description: '入力を確認してください。' })))
}
useEffect (() => {