MCPcopy Index your code
hub / github.com/codeaashu/claude-code / InvalidSettingsDialog

Function InvalidSettingsDialog

src/components/InvalidSettingsDialog.tsx:18–88  ·  view source on GitHub ↗
(t0)

Source from the content-addressed store, hash-verified

16 * User must choose to continue (skipping invalid files) or exit to fix them.
17 */
18export function InvalidSettingsDialog(t0) {
19 const $ = _c(13);
20 const {
21 settingsErrors,
22 onContinue,
23 onExit
24 } = t0;
25 let t1;
26 if ($[0] !== onContinue || $[1] !== onExit) {
27 t1 = function handleSelect(value) {
28 if (value === "exit") {
29 onExit();
30 } else {
31 onContinue();
32 }
33 };
34 $[0] = onContinue;
35 $[1] = onExit;
36 $[2] = t1;
37 } else {
38 t1 = $[2];
39 }
40 const handleSelect = t1;
41 let t2;
42 if ($[3] !== settingsErrors) {
43 t2 = <ValidationErrorsList errors={settingsErrors} />;
44 $[3] = settingsErrors;
45 $[4] = t2;
46 } else {
47 t2 = $[4];
48 }
49 let t3;
50 if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
51 t3 = <Text dimColor={true}>Files with errors are skipped entirely, not just the invalid settings.</Text>;
52 $[5] = t3;
53 } else {
54 t3 = $[5];
55 }
56 let t4;
57 if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
58 t4 = [{
59 label: "Exit and fix manually",
60 value: "exit"
61 }, {
62 label: "Continue without these settings",
63 value: "continue"
64 }];
65 $[6] = t4;
66 } else {
67 t4 = $[6];
68 }
69 let t5;
70 if ($[7] !== handleSelect) {
71 t5 = <Select options={t4} onChange={handleSelect} />;
72 $[7] = handleSelect;
73 $[8] = t5;
74 } else {
75 t5 = $[8];

Callers

nothing calls this directly

Calls 1

onExitFunction · 0.85

Tested by

no test coverage detected