tangled
alpha
login
or
join now
dunkirk.sh
/
pstream-ng
1
fork
atom
pstream is dead; long live pstream
taciturnaxolotl.github.io/pstream-ng/
1
fork
atom
overview
issues
pulls
pipelines
fix watchparty join shortcut on home page
Pas
4 months ago
80d2ae13
bef85aa7
+7
1 changed file
expand all
collapse all
unified
split
src
hooks
useWatchPartySync.ts
+7
src/hooks/useWatchPartySync.ts
···
82
82
// Get watch party state
83
83
const { roomCode, isHost, enabled, enableAsGuest } = useWatchPartyStore();
84
84
85
85
+
// Reset URL parameter checking when watch party is disabled
86
86
+
useEffect(() => {
87
87
+
if (!enabled) {
88
88
+
syncStateRef.current.checkedUrlParams = false;
89
89
+
}
90
90
+
}, [enabled]);
91
91
+
85
92
// Check URL parameters for watch party code
86
93
useEffect(() => {
87
94
if (syncStateRef.current.checkedUrlParams) return;