Skip to content

Commit 12e9b02

Browse files
committed
Address issue where sourceId could change during MHLM login, causing a 409
1 parent 56e9586 commit 12e9b02

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)