Skip to content

Commit 28172cb

Browse files
committed
Merge branch 'sourceId' into 'main'
Address issue where sourceId could change during MHLM login, causing a 409 See merge request cit/mathworks/jupyter-matlab-proxy!9
2 parents 56e9586 + 12e9b02 commit 28172cb

File tree

1 file changed

+2
-2
lines changed
  • gui/src/components/LicensingGatherer

1 file changed

+2
-2
lines changed

gui/src/components/LicensingGatherer/MHLM.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ function MHLM() {
8080
);
8181

8282
// Create random sourceId string
83-
const sourceId = (
83+
const sourceId = useState(
8484
Math.random().toString(36).substring(2, 15)
8585
+ Math.random().toString(36).substring(2, 15)
86-
);
86+
)[0];
8787

8888
useEffect(() => {
8989

0 commit comments

Comments
 (0)