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 367906d commit 09f5e95Copy full SHA for 09f5e95
site/src/modules/resources/AgentMetadata.tsx
@@ -51,10 +51,6 @@ export const AgentMetadata: FC<AgentMetadataProps> = ({
51
}) => {
52
const [metadata, setMetadata] = useState<WorkspaceAgentMetadata[]>();
53
useEffect(() => {
54
- // Even though we're using storybookMetadata as the initial value of the
55
- // `metadata` state, we can't sync on `metadata` itself. If we did, the
56
- // moment we update the state with a new event, we would re-trigger the
57
- // effect and immediately destroy the connection
58
if (storybookMetadata !== undefined) {
59
return;
60
}
0 commit comments