mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 18:14:07 +03:00
parent
3df72fb99f
commit
b41a8b4ac7
|
@ -58,6 +58,12 @@ export function StoreBuilder(props: StoreBuilderProps) {
|
|||
}
|
||||
}, [resolvedSpec, specUrl, options]);
|
||||
|
||||
React.useEffect(() => {
|
||||
if (store && onLoaded) {
|
||||
onLoaded();
|
||||
}
|
||||
}, [store, onLoaded])
|
||||
|
||||
return children({
|
||||
loading: !store,
|
||||
store,
|
||||
|
|
Loading…
Reference in New Issue
Block a user