import React from "react"; import dynamic from "next/dynamic"; import { useAppDispatch, useAppSelector } from "../../store/hook"; import { clear_logs } from "../../store/features/editorSlice"; import { theme_state } from "../../store/features/themeSlice"; const Console = dynamic(import("console-feed/lib/Component"), { ssr: false }); interface LogsProps { logs: any; } const Logs = ({ logs }: LogsProps) => { const { theme } = useAppSelector(theme_state); const dispatch = useAppDispatch(); return (