From 1b4a7e4afd023139947b7569fc525b72ef8331a0 Mon Sep 17 00:00:00 2001 From: "Felix C. Morency" <1102868+fmorency@users.noreply.github.com> Date: Tue, 17 Dec 2024 10:08:12 -0500 Subject: [PATCH] fix: use cjs instead of ems --- components/groups/modals/voteDetailsModal.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/groups/modals/voteDetailsModal.tsx b/components/groups/modals/voteDetailsModal.tsx index 4399532..4a6888d 100644 --- a/components/groups/modals/voteDetailsModal.tsx +++ b/components/groups/modals/voteDetailsModal.tsx @@ -2,9 +2,9 @@ import React, { useEffect, useState, useMemo } from 'react'; import dynamic from 'next/dynamic'; import { createPortal } from 'react-dom'; import { PrismAsyncLight as SyntaxHighlighter } from 'react-syntax-highlighter'; -import json from 'react-syntax-highlighter/dist/esm/languages/prism/json'; -import oneDark from 'react-syntax-highlighter/dist/esm/styles/prism/one-dark'; -import oneLight from 'react-syntax-highlighter/dist/esm/styles/prism/one-light'; +import json from 'react-syntax-highlighter/dist/cjs/languages/prism/json'; +import oneDark from 'react-syntax-highlighter/dist/cjs/styles/prism/one-dark'; +import oneLight from 'react-syntax-highlighter/dist/cjs/styles/prism/one-light'; import { MemberSDKType,