Skip to content

Commit e3076ae

Browse files
fixing indentation
1 parent 8ca5a34 commit e3076ae

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

client/src/components/Sidebar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ const Sidebar = ({
139139

140140
// Memoized config entry generator
141141
const generateMCPServerEntry = useCallback(() => {
142-
return JSON.stringify(generateServerConfig(), null, 2);
142+
return JSON.stringify(generateServerConfig(), null, 4);
143143
}, [generateServerConfig]);
144144

145145
// Memoized config file generator
@@ -151,7 +151,7 @@ const Sidebar = ({
151151
},
152152
},
153153
null,
154-
2,
154+
4,
155155
);
156156
}, [generateServerConfig]);
157157

client/src/components/__tests__/Sidebar.test.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ describe("Sidebar Environment Variables", () => {
700700
env,
701701
},
702702
null,
703-
2,
703+
4,
704704
);
705705
expect(mockClipboardWrite).toHaveBeenCalledWith(expectedConfig);
706706
});
@@ -735,7 +735,7 @@ describe("Sidebar Environment Variables", () => {
735735
},
736736
},
737737
null,
738-
2,
738+
4,
739739
);
740740
expect(mockClipboardWrite).toHaveBeenCalledWith(expectedConfig);
741741
});
@@ -758,7 +758,7 @@ describe("Sidebar Environment Variables", () => {
758758
note: "For SSE connections, add this URL directly in Client",
759759
},
760760
null,
761-
2,
761+
4,
762762
);
763763
expect(mockClipboardWrite).toHaveBeenCalledWith(expectedConfig);
764764
});
@@ -785,7 +785,7 @@ describe("Sidebar Environment Variables", () => {
785785
},
786786
},
787787
null,
788-
2,
788+
4,
789789
);
790790
expect(mockClipboardWrite).toHaveBeenCalledWith(expectedConfig);
791791
});
@@ -808,7 +808,7 @@ describe("Sidebar Environment Variables", () => {
808808
note: "For Streamable HTTP connections, add this URL directly in Client",
809809
},
810810
null,
811-
2,
811+
4,
812812
);
813813
expect(mockClipboardWrite).toHaveBeenCalledWith(expectedConfig);
814814
});
@@ -835,7 +835,7 @@ describe("Sidebar Environment Variables", () => {
835835
},
836836
},
837837
null,
838-
2,
838+
4,
839839
);
840840
expect(mockClipboardWrite).toHaveBeenCalledWith(expectedConfig);
841841
});
@@ -864,7 +864,7 @@ describe("Sidebar Environment Variables", () => {
864864
env: {},
865865
},
866866
null,
867-
2,
867+
4,
868868
);
869869
expect(mockClipboardWrite).toHaveBeenCalledWith(expectedConfig);
870870
});

0 commit comments

Comments
 (0)