mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-18 15:44:36 +00:00
Remove the TEMP render counters from PageEditor / Controls3D / UploadModal3D now that the inline-component-anti-pattern bug is understood and fixed. Investigation showed the apparent "4 renders per click" was a StrictMode dev artifact (one real render, doubled, hitting two UploadModal3D instances). The single re-render is benign on its own — the bug was always that <UploaderModalContent /> registered a fresh component reference each render and remounted the dropzone mid-click. Update the call-site comment in all five upload modals to spell out the consequence (file picker breaks) so the inline call form isn't mistakenly "cleaned up" back to <Comp />.