Skip to content

Commit

Permalink
ブックマークしたページから直接ブックマークを削除した際のトースト文を変更
Browse files Browse the repository at this point in the history
  • Loading branch information
su-su-su-su committed Jun 30, 2024
1 parent 6934aaf commit af9f0ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/components/BookmarkButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default function BookmarkButton({ bookmarkableId, bookmarkableType }) {
Bootcamp.delete(`/api/bookmarks/${bookmarkId}`)
.then(() => {
setIsBookmark(false)
toast.methods.toast('Bookmarkを削除しました')
toast.methods.toast('ブックマークを削除しました')
})
.catch((error) => {
console.warn(error)
Expand Down

0 comments on commit af9f0ee

Please sign in to comment.