fix: Load plain dynamically (#18571)
This commit is contained in:
1 parent
f0d1c92e99
commit
0f07ab2f7b
6 files changed
+9
-5
No files matched your search
@@ -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;
|
||||
Reference in new issue
Block a user