Skip to content

Commit

Permalink
Listen for namespaces changes and load necessary namespaces (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rihards Ščeredins authored Apr 25, 2021
1 parent ba1dbc4 commit 92ff865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DynamicNamespaces.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function DynamicNamespaces({

useEffect(() => {
loadNamespaces()
}, [])
}, [namespaces.join()])

if (!loaded) return fallback || null

Expand Down

0 comments on commit 92ff865

Please sign in to comment.