fix: Load plain dynamically (#18571)

This commit is contained in:
Omar López authored and GitHub committed 2025-01-22 20:10:11 +00:00
1 parent f0d1c92e99
commit 0f07ab2f7b
6 files changed
+9 -5

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
import dynamic from "next/dynamic";
import { Fragment } from "react";
export default process.env.NEXT_PUBLIC_PLAIN_CHAT_ID ? dynamic(() => import("./plainChat")) : Fragment;