Skip to content

Commit

Permalink
build error resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevyashsaini committed Aug 12, 2024
1 parent a6008d7 commit 1108810
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/app/blogwriter/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
"use client";

import React, { useState, useRef, useMemo } from "react";
import JoditEditor from "jodit-react";
import React, { useState, useRef } from "react";
import dynamic from "next/dynamic";

// Dynamically import JoditEditor to ensure it only runs in the browser
const JoditEditor = dynamic(() => import("jodit-react"), { ssr: false });

const Example = () => {
const editor = useRef(null);
Expand All @@ -21,4 +24,4 @@ const Example = () => {
);
};

export default Example;
export default Example;

1 comment on commit 1108810

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for iiitvcc ready!

✅ Preview
https://iiitvcc-cz66ircl7-iiitv-coding-clubs-projects.vercel.app

Built with commit 1108810.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.