We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27cde35 commit 2e5c58dCopy full SHA for 2e5c58d
src/containers/Inspector.tsx
@@ -64,6 +64,12 @@ const Inspector: React.FC<IProps> = (props) => {
64
const [url, setUrl] = useState(props.url || "");
65
const [client] = useClient(url);
66
67
+ useEffect(() => {
68
+ if (props.url) {
69
+ setUrl(props.url);
70
+ }
71
+ }, [props.url]);
72
+
73
const handlePlayButton = async () => {
74
if (client) {
75
incrementId();
0 commit comments