Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ブックが存在しないとき「トピックが見つかりませんでした」と表示される不具合を修正 #949

Merged
merged 1 commit into from
May 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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