We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a39ae2 commit 7cf2c96Copy full SHA for 7cf2c96
site/src/DynamicForm.tsx
@@ -85,7 +85,7 @@ export function DynamicForm() {
85
}, [testdata]);
86
87
const planPath = "";
88
- const wsUrl = `ws://${serverAddress}/ws/${encodeURIComponent(testdata)}${planPath ? `?plan=${encodeURIComponent(planPath)}` : ''}${user ? `&user=${encodeURIComponent(user)}` : ''}`;
+ const wsUrl = `ws://${serverAddress}/ws/${encodeURIComponent(testdata)}${`?plan=${encodeURIComponent(planPath)}`}${user ? `&user=${encodeURIComponent(user)}` : ''}`;
89
90
const { message: serverResponse, sendMessage, connectionStatus } = useWebSocket<Response>(wsUrl);
91
0 commit comments