Skip to content

Commit

Permalink
Merge branch 'iiitv:new' into new
Browse files Browse the repository at this point in the history
  • Loading branch information
deveshsawant05 authored Aug 13, 2024
2 parents f0e06bc + 1108810 commit 7e376c2
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;

0 comments on commit 7e376c2

Please sign in to comment.