@metrevals/inspect-scout-viewer 0.3.3-beta.1765662324 → 0.3.3-beta.1765662729
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/lib/index.js +4 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -66599,7 +66599,10 @@ const ScanResultPanel = () => {
|
|
|
66599
66599
|
const setTranscriptId = useStore((state) => state.setTranscriptId);
|
|
66600
66600
|
useEffect(() => {
|
|
66601
66601
|
setTranscriptId(selectedResult?.transcriptId);
|
|
66602
|
-
|
|
66602
|
+
return () => {
|
|
66603
|
+
setTranscriptId(void 0);
|
|
66604
|
+
};
|
|
66605
|
+
}, [setTranscriptId, selectedResult?.transcriptId]);
|
|
66603
66606
|
const status = useStore((state) => state.selectedScanStatus);
|
|
66604
66607
|
useEffect(() => {
|
|
66605
66608
|
const tabParam = searchParams.get("tab");
|