Merge pull request #62 from PRO-Robotech/feature/dev

fix circular render
This commit is contained in:
typescreep
2025-07-17 22:22:30 +03:00
committed by GitHub

View File

@@ -50,7 +50,7 @@ export const Factory: FC<TFactoryProps> = ({ setSidebarTags }) => {
useEffect(() => {
setSidebarTags(spec?.sidebarTags || [])
})
}, [spec?.sidebarTags, setSidebarTags])
if (!spec) {
return null