Skip to content

Commit

Permalink
Merge pull request #949 from npocccties/fix-book-not-found
Browse files Browse the repository at this point in the history
fix: ブックが存在しないとき「トピックが見つかりませんでした」と表示される不具合を修正
  • Loading branch information
kou029w authored May 30, 2023
2 parents 92e25b6 + d9e6a68 commit 7ef634c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pages/book/edit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type { ContentAuthors } from "$server/models/content";
import { useSessionAtom } from "$store/session";
import BookEdit from "$templates/BookEdit";
import Placeholder from "$templates/Placeholder";
import BookNotFoundProblem from "$templates/TopicNotFoundProblem";
import BookNotFoundProblem from "$templates/BookNotFoundProblem";
import { destroyBook, updateBook, useBook } from "$utils/book";
import { pagesPath } from "$utils/$path";
import useBookLinkHandler from "$utils/useBookLinkHandler";
Expand Down
2 changes: 1 addition & 1 deletion pages/book/import/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import BookImport from "$templates/BookImport";
import Placeholder from "$templates/Placeholder";
import Book from "$templates/Book";
import BookPreviewDialog from "$organisms/BookPreviewDialog";
import BookNotFoundProblem from "$templates/TopicNotFoundProblem";
import BookNotFoundProblem from "$templates/BookNotFoundProblem";
import { useSessionAtom } from "$store/session";
import { updateBook, useBook } from "$utils/book";
import useBooks from "$utils/useBooks";
Expand Down
2 changes: 1 addition & 1 deletion pages/book/topic/import/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useRouter } from "next/router";
import TopicImport from "$templates/TopicImport";
import Placeholder from "$templates/Placeholder";
import BookNotFoundProblem from "$templates/TopicNotFoundProblem";
import BookNotFoundProblem from "$templates/BookNotFoundProblem";
import { useSessionAtom } from "$store/session";
import { updateBook, useBook } from "$utils/book";
import useTopics from "$utils/useTopics";
Expand Down
4 changes: 2 additions & 2 deletions pages/topics/edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import type {
import type { Query as BookEditQuery } from "$pages/book/edit";
import Placeholder from "$templates/Placeholder";
import TopicEdit from "$templates/TopicEdit";
import TopicNotFoundProblem from "$templates/BookNotFoundProblem";
import BookNotFoundProblem from "$templates/TopicNotFoundProblem";
import TopicNotFoundProblem from "$templates/TopicNotFoundProblem";
import BookNotFoundProblem from "$templates/BookNotFoundProblem";
import { useVideoTrackAtom } from "$store/videoTrack";
import { destroyTopic, updateTopic, useTopic } from "$utils/topic";
import { destroyVideoTrack, uploadVideoTrack } from "$utils/videoTrack";
Expand Down

0 comments on commit 7ef634c

Please sign in to comment.