Introduce ability to disable editing the UI (useful for hosted demos) (#48)

This commit is contained in:
Neil Dwyer
2024-05-06 12:13:45 -07:00
committed by GitHub
parent 5b99dae15f
commit 95387d73bc
7 changed files with 39 additions and 21 deletions

View File

@@ -46,7 +46,7 @@ export function HomeInner() {
} | null>(null);
const { shouldConnect, wsUrl, token, connect, disconnect } =
useTokenGenerator();
const {config} = useConfig();
const handleConnect = useCallback(