mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: infinite playground rendering (#4031)
This commit is contained in:
parent
8a8116d13b
commit
50d4de86dd
@ -37,7 +37,7 @@ export const Playground: VFC<{}> = () => {
|
||||
|
||||
useEffect(() => {
|
||||
setEnvironments([resolveDefaultEnvironment(availableEnvironments)]);
|
||||
}, [environments]);
|
||||
}, [JSON.stringify(availableEnvironments)]);
|
||||
|
||||
useEffect(() => {
|
||||
// Load initial values from URL
|
||||
|
Loading…
Reference in New Issue
Block a user