Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
nuotsu committed Sep 23, 2024
1 parent 0ae9fbb commit 0524ff4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# SanityPress

A fully customizable Next.js and Sanity starter template with Tailwind CSS and pre-built schema for rapid website development.
> _Ready, Set, Impress._
A opinionated, fully customizable Next.js and Sanity starter template with Tailwind CSS and pre-built schema for rapid website development.

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fnuotsu%2Fsanitypress&env=NEXT_PUBLIC_BASE_URL,NEXT_PUBLIC_SANITY_PROJECT_ID,NEXT_PUBLIC_SANITY_DATASET,NEXT_PUBLIC_SANITY_TOKEN&envDescription=Values%20needed%20to%20connect%20a%20Sanity%20CMS&envLink=https%3A%2F%2Fsanitypress.dev%2Fdocs%2Fgetting-started&demo-title=SanityPress&demo-description=Official%20website%20and%20blog%20for%20SanityPress%2C%20built%20with%20SanityPress&demo-url=https%3A%2F%2Fsanitypress.dev&demo-image=https%3A%2F%2Fcdn.sanity.io%2Fimages%2Felyfelq1%2Fproduction%2F7fb61a2b110f509582f0f43cb1e397f8fa9e5c07-2814x1798.png%3Fw%3D1600)

Expand Down
15 changes: 8 additions & 7 deletions src/ui/modules/CustomHTML.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ export default function CustomHTML({
className,
html,
...props
}: Partial<{
className: string
html: {
code: string
}
}> &
Sanity.Module) {
}: Partial<
{
className: string
html: {
code: string
}
} & Sanity.Module
>) {
const ref = useRef<HTMLElement>(null)
const [firstRender, setFirstRender] = useState(true)

Expand Down

0 comments on commit 0524ff4

Please sign in to comment.