@openeventkit/event-site 2.1.31 → 2.1.32

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openeventkit/event-site",
3
3
  "description": "Event Site",
4
- "version": "2.1.31",
4
+ "version": "2.1.32",
5
5
  "author": "Tipit LLC",
6
6
  "dependencies": {
7
7
  "@emotion/server": "^11.11.0",
@@ -20,12 +20,12 @@ const OverflowPlayerPage = ({
20
20
  error
21
21
  }) => {
22
22
  const params = new URLSearchParams(location.search);
23
- const overflowStreamKey = params.get("k");
24
23
  const { t } = useTranslation();
25
24
  const [showTitleFlash, setShowTitleFlash] = useState(false);
26
25
  const [videoError, setVideoError] = useState(false);
27
26
  const { isPortrait } = useOrientation();
28
27
  const latestEventIdRef = useRef(null);
28
+ const [overflowStreamKey, setOverflowStreamKey] = useState(params.get("k"));
29
29
 
30
30
  useEffect(() => {
31
31
  if (event?.id) {