Skip to content

Commit

Permalink
style: Restyle document
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeZhangBorui committed Aug 22, 2024
1 parent c980031 commit 6e1a2f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/viewpassage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import { Skeleton } from "@nextui-org/skeleton";
import { useRouter } from "next/router";
import { useEffect, useState } from "react";

import styles from "./viewpassage.module.css";

import DefaultLayout from "@/layouts/default";
import { siteConfig } from "@/config/site";

import styles from "./viewpassage.module.css";

export default function ViewPassagePage() {
const router = useRouter();
const { id } = router.query;
Expand Down Expand Up @@ -66,10 +66,10 @@ export default function ViewPassagePage() {
<p>{String(post["date"]).replace("T", " ")}</p>
<Card className="mt-5 p-5">
<div
className={styles.content}
dangerouslySetInnerHTML={{
__html: post["content"]["rendered"],
}}
className={styles.content}
/>
</Card>
</>
Expand Down

0 comments on commit 6e1a2f3

Please sign in to comment.