mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 16:56:22 +02:00
Convert GenerateVideoPresentationToolUI from static import to dynamic import with ssr: false in public-thread.tsx. This prevents Remotion and @babel/standalone from being bundled in the public chat page. The main app's assistant-message.tsx already correctly lazy-loads this component, but the public thread was still using a static import, unnecessarily increasing the bundle size for public shared chats. Benefits: - Removes Remotion and @babel/standalone from public chat bundle - Reduces initial bundle size for public shared chats - Video presentations still render correctly when present - Faster page load for users viewing public chats Fixes #1145 |
||
|---|---|---|
| .. | ||
| public-chat-footer.tsx | ||
| public-chat-not-found.tsx | ||
| public-chat-view.tsx | ||
| public-thread.tsx | ||