@vishu1301/script-writing 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2420,6 +2420,11 @@ function useScriptBreakdownScene(options) {
|
|
|
2420
2420
|
setSceneBrief("");
|
|
2421
2421
|
autoTaggedSceneRef.current = null;
|
|
2422
2422
|
}, [options.scene_url]);
|
|
2423
|
+
useEffect(() => {
|
|
2424
|
+
if (options.preLoadedTags && options.preLoadedTags.length > 0) {
|
|
2425
|
+
setTags(options.preLoadedTags);
|
|
2426
|
+
}
|
|
2427
|
+
}, []);
|
|
2423
2428
|
const clearSelection = useCallback(() => {
|
|
2424
2429
|
var _a;
|
|
2425
2430
|
setSelectionMenu(null);
|