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 2e86f50 commit 9a8554bCopy full SHA for 9a8554b
src/extension/ui/src/queries/useConfig.ts
@@ -52,7 +52,6 @@ export function useConfig(client: v1.DockerDesktopClient) {
52
newConfig: { [key: string]: any };
53
}) => {
54
try {
55
- // Use the ref which contains the pre-optimistic update state
56
const updatedConfig = { ...((queryClient.getQueryData(["config"]) as Record<string, any>) ||
57
{}), [itemName]: newConfig };
58
0 commit comments