Fix read page title
This commit is contained in:
@@ -2,7 +2,7 @@ import { Head, Link, router } from '@inertiajs/react';
|
||||
import AppLayout from '@/Layouts/AppLayout.jsx';
|
||||
import React, { useEffect, useLayoutEffect, useRef, useState } from 'react';
|
||||
import { BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator } from "@/components/ui/breadcrumb.jsx";
|
||||
import { Button } from "@/components/ui/button.jsx";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { ChevronFirst, ChevronLast, Rows3, Settings } from "lucide-react";
|
||||
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, } from "@/components/ui/dialog";
|
||||
import PrimaryButton from "@/components/PrimaryButton.jsx";
|
||||
@@ -12,6 +12,7 @@ import { TooltipContent } from "@/components/ui/tooltip.jsx";
|
||||
import { throttle } from "lodash";
|
||||
|
||||
export default function Read({ auth, comic, chapter }) {
|
||||
|
||||
const [readingMode, setReadingMode] = useState('rtl'); // rtl, utd
|
||||
const [isTwoPagesPerScreen, setIsTwoPagePerScreen] = useState(false);
|
||||
const [currentImage, setCurrentImage] = useState(1);
|
||||
@@ -280,7 +281,7 @@ export default function Read({ auth, comic, chapter }) {
|
||||
</>
|
||||
} toolbar={ <Toolbar /> }>
|
||||
<Head>
|
||||
<title>{ chapter.chapter.name } - { comic.comic.name }</title>
|
||||
<title>{ chapter.chapter.name.concat(" - ", comic.comic.name) }</title>
|
||||
</Head>
|
||||
<div className="p-3 pt-1 pb-1 flex flex-wrap justify-center" id="mvp" ref={ ref }
|
||||
style={ { overflowAnchor: "none", height: "calc(100dvh - 90px)", overflowY: "scroll" } }>
|
||||
|
||||
Reference in New Issue
Block a user