-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathparsed-errors.json
More file actions
418 lines (418 loc) · 57.7 KB
/
Copy pathparsed-errors.json
File metadata and controls
418 lines (418 loc) · 57.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
[
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\api\\sarvamAgent.js",
"errors": [
"81:no-undef - 'process' is not defined.",
"223:no-unused-vars - '_' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\about\\ComplianceBanner.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\about\\MissionStatement.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"4:no-unused-vars - 'Fingerprint' is defined but never used.",
"4:no-unused-vars - 'Shield' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\agent\\AgentTerminal.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"1:no-unused-vars - 'useEffect' is defined but never used.",
"7:no-unused-vars - 'ERC20_ABI' is assigned a value but never used.",
"52:no-unused-vars - 'sdkError' is assigned a value but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\agent\\GlassTerminal.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"6:no-unused-vars - 'resolveTokenDecimals' is defined but never used.",
"282:no-unused-vars - 'ErrorBox' is assigned a value but never used.",
"634:no-unused-vars - 'sdkError' is assigned a value but never used.",
"644:no-unused-vars - 'userTier' is assigned a value but never used.",
"645:no-unused-vars - 'remainingTxs' is assigned a value but never used.",
"670:react-hooks/set-state-in-effect - Error: Calling setState synchronously within an effect can trigger cascading renders\n\nEffects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:\n* Update external systems with the latest state from React.\n* Subscribe for updates from some external system, calling setState in a callback function when external state changes.\n\nCalling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).\n\n 668 | useEffect(() => {\n 669 | if (walletAddress || stellarPublicKey) {\n> 670 | setShowConnectWall(false);\n | ^^^^^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect\n 671 | }\n 672 | }, [walletAddress, stellarPublicKey]);\n 673 |",
"718:no-unused-vars - 'walletSnapshot' is assigned a value but never used.",
"774:no-unused-vars - '_' is defined but never used.",
"781:react-hooks/set-state-in-effect - Error: Calling setState synchronously within an effect can trigger cascading renders\n\nEffects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:\n* Update external systems with the latest state from React.\n* Subscribe for updates from some external system, calling setState in a callback function when external state changes.\n\nCalling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).\n\n 779 | : `It looks like your wallet is currently empty.`;\n 780 |\n> 781 | pushMessage('agent', `Terminal connected to ${walletAddress.slice(0, 6)}...${walletAddress.slice(-4)}. ${balanceText} How can I assist you with your DeFi operations today?`);\n | ^^^^^^^^^^^ Avoid calling setState() directly within an effect\n 782 | } else if (!walletAddress && messages.length === 0) {\n 783 | pushMessage('agent', `Welcome to Spectra Agent Terminal. Please connect your wallet to review your balances and execute swaps.`);\n 784 | }",
"791:no-undef - 'setError' is not defined.",
"821:no-unused-vars - 'e' is defined but never used.",
"821:no-empty - Empty block statement.",
"884:react-hooks/set-state-in-effect - Error: Calling setState synchronously within an effect can trigger cascading renders\n\nEffects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:\n* Update external systems with the latest state from React.\n* Subscribe for updates from some external system, calling setState in a callback function when external state changes.\n\nCalling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).\n\n 882 | useEffect(() => {\n 883 | if (walletAddress) {\n> 884 | hydrateWallet().catch(() => undefined);\n | ^^^^^^^^^^^^^ Avoid calling setState() directly within an effect\n 885 | } else {\n 886 | setTokenBalances({});\n 887 | setWalletNonce(0);",
"893:react-hooks/exhaustive-deps - React Hook useEffect has a missing dependency: 'hydrateWallet'. Either include it or remove the dependency array.",
"981:no-undef - 'setError' is not defined."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\agent\\IntentCard.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"127:react-hooks/purity - Error: Cannot call impure function during render\n\n`Math.random` is an impure function. Calling an impure function can produce unstable results that update unpredictably when the component happens to re-render. (https://react.dev/reference/rules/components-and-hooks-must-be-pure#components-and-hooks-must-be-idempotent).\n\n 125 |\n 126 | const jsonString = JSON.stringify({\n> 127 | intent_id: '0x' + Math.random().toString(16).slice(2, 10) + '...',\n | ^^^^^^^^^^^^^ Cannot call impure function\n 128 | action: intent.action,\n 129 | amount: intent.amount,\n 130 | token: intent.token,"
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\auth\\WalletConnectProvider.jsx",
"errors": [
"20:react-refresh/only-export-components - Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components.",
"33:react-refresh/only-export-components - Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components.",
"48:react-refresh/only-export-components - Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components.",
"73:react-refresh/only-export-components - Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components.",
"91:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\auth\\WalletSelectorModal.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"93:no-unused-vars - 'ErrorText' is assigned a value but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\exchange\\CrossChainSelector.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"10:react-refresh/only-export-components - Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components.",
"21:react-refresh/only-export-components - Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\exchange\\RouteDetails.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"49:no-unused-vars - 'Divider' is assigned a value but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\exchange\\SwapBox.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"6:no-unused-vars - 'resolveTokenAddress' is defined but never used.",
"6:no-unused-vars - 'resolveTokenLabel' is defined but never used.",
"18:react-refresh/only-export-components - Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components.",
"39:no-unused-vars - 'onError' is defined but never used.",
"41:no-unused-vars - 'isStellarConnected' is assigned a value but never used.",
"44:no-unused-vars - 'stellarAccount' is assigned a value but never used.",
"64:react-hooks/set-state-in-effect - Error: Calling setState synchronously within an effect can trigger cascading renders\n\nEffects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:\n* Update external systems with the latest state from React.\n* Subscribe for updates from some external system, calling setState in a callback function when external state changes.\n\nCalling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).\n\n 62 | if (mode === 'BRIDGE' && !bridgeDestination) {\n 63 | if (walletAddress) {\n> 64 | setBridgeDestination(walletAddress);\n | ^^^^^^^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect\n 65 | } else {\n 66 | const cachedEvm = localStorage.getItem('spectra_wallet');\n 67 | if (cachedEvm) setBridgeDestination(cachedEvm);",
"72:no-unused-vars - 'sdkError' is assigned a value but never used.",
"158:no-unused-vars - 'err' is defined but never used.",
"180:react-hooks/set-state-in-effect - Error: Calling setState synchronously within an effect can trigger cascading renders\n\nEffects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:\n* Update external systems with the latest state from React.\n* Subscribe for updates from some external system, calling setState in a callback function when external state changes.\n\nCalling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).\n\n 178 | hydrate().catch((error) => console.warn('[SwapBox] Hydration failed:', error));\n 179 | } else {\n> 180 | setEthBalance(ZERO);\n | ^^^^^^^^^^^^^ Avoid calling setState() directly within an effect\n 181 | setPaymentTokenBalance(ZERO);\n 182 | setSelectedAssetBalance(ZERO);\n 183 | setRawPaymentTokenBalance('0');",
"185:react-hooks/exhaustive-deps - React Hook useEffect has a missing dependency: 'fetchBalances'. Either include it or remove the dependency array.",
"492:no-undef - 'setExecutionError' is not defined.",
"494:no-undef - 'setExecutionError' is not defined."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\home\\CinematicHero.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"3:no-unused-vars - 'useNavigate' is defined but never used.",
"5:no-unused-vars - 'Spline' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\home\\FeatureScroll.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\home\\FeaturesGrid.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\home\\FeedbackSection.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\home\\Hero.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\home\\HeroDesign.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"1:no-unused-vars - 'Component' is defined but never used.",
"23:react-hooks/set-state-in-effect - Error: Calling setState synchronously within an effect can trigger cascading renders\n\nEffects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:\n* Update external systems with the latest state from React.\n* Subscribe for updates from some external system, calling setState in a callback function when external state changes.\n\nCalling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).\n\n 21 |\n 22 | useEffect(() => {\n> 23 | setIsMounted(true);\n | ^^^^^^^^^^^^ Avoid calling setState() directly within an effect\n 24 | }, []);\n 25 |\n 26 | return ("
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\home\\LiveTerminal.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\layout\\AmbientBackground.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"49:react-hooks/set-state-in-effect - Error: Calling setState synchronously within an effect can trigger cascading renders\n\nEffects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:\n* Update external systems with the latest state from React.\n* Subscribe for updates from some external system, calling setState in a callback function when external state changes.\n\nCalling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).\n\n 47 |\n 48 | useEffect(() => {\n> 49 | setIsMounted(true);\n | ^^^^^^^^^^^^ Avoid calling setState() directly within an effect\n 50 | \n 51 | // Set initial position to center of the screen\n 52 | if (typeof window !== 'undefined') {"
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\layout\\ErrorDialog.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\layout\\FluidNav.jsx",
"errors": [
"137:no-unused-vars - 'walletAddress' is assigned a value but never used.",
"137:no-unused-vars - 'login' is assigned a value but never used.",
"139:no-unused-vars - 'handleLogout' is assigned a value but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\layout\\Footer.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\layout\\MainLayout.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\layout\\Navigation.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\layout\\OnboardingEnforcer.jsx",
"errors": [
"16:no-unused-vars - 'isChecking' is assigned a value but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\layout\\RequireAuth.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\mint\\MintConsole.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"170:no-unused-vars - 'e' is defined but never used.",
"170:no-empty - Empty block statement.",
"188:react-hooks/set-state-in-effect - Error: Calling setState synchronously within an effect can trigger cascading renders\n\nEffects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:\n* Update external systems with the latest state from React.\n* Subscribe for updates from some external system, calling setState in a callback function when external state changes.\n\nCalling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).\n\n 186 | hydrate().catch(e => console.warn('[MintConsole] Hydration failed:', e));\n 187 | } else {\n> 188 | setEthBalance(ZERO);\n | ^^^^^^^^^^^^^ Avoid calling setState() directly within an effect\n 189 | setMockUsdBalance(ZERO);\n 190 | setUserTier(-1);\n 191 | setOwnedTokenId(0);",
"193:react-hooks/exhaustive-deps - React Hook useEffect has missing dependencies: 'fetchBalances' and 'stellarPublicKey'. Either include them or remove the dependency array."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\components\\mint\\PricingMatrix.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"1:no-unused-vars - 'useState' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\context\\AuthContext.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"239:react-refresh/only-export-components - Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\context\\ErrorContext.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"26:react-refresh/only-export-components - Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\context\\RateLimitContext.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"65:react-refresh/only-export-components - Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\context\\ThemeContext.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"28:react-refresh/only-export-components - Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\hooks\\useUGF.js",
"errors": [
"28:no-unused-vars - 'paymentToken' is defined but never used.",
"109:no-unused-vars - 's' is defined but never used.",
"140:preserve-caught-error - There is no `cause` attached to the symptom error being thrown."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\lib\\stellar\\client.js",
"errors": [
"1:no-unused-vars - 'xdr' is defined but never used.",
"107:no-unused-vars - '_publicKey' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\lib\\stellar\\contracts\\bridge.js",
"errors": [
"1:no-unused-vars - 'scValToNative' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\lib\\stellar\\contracts\\nft.js",
"errors": [
"29:no-unused-vars - 'err' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\lib\\stellar\\contracts\\token.js",
"errors": [
"1:no-unused-vars - 'nativeToScVal' is defined but never used.",
"2:no-unused-vars - 'invokeContract' is defined but never used.",
"25:no-unused-vars - 'err' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\lib\\stellar\\relayer.js",
"errors": [
"1:no-unused-vars - 'Keypair' is defined but never used.",
"1:no-unused-vars - 'TransactionBuilder' is defined but never used.",
"2:no-unused-vars - 'server' is defined but never used.",
"2:no-unused-vars - 'networkPassphrase' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\lib\\stellar\\snap.js",
"errors": [
"12:no-unused-vars - 'e' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\main.jsx",
"errors": [
"1:no-unused-vars - 'StrictMode' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\pages\\About.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\pages\\Admin.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\pages\\AdminDashboard.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"124:react-hooks/immutability - Error: Cannot access variable before it is declared\n\n`fetchData` is accessed before it is declared, which prevents the earlier access from updating when this value changes over time.\n\n 122 | navigate('/');\n 123 | } else {\n> 124 | fetchData();\n | ^^^^^^^^^ `fetchData` accessed before it is declared\n 125 | }\n 126 | }, [navigate]);\n 127 |\n\n 126 | }, [navigate]);\n 127 |\n> 128 | const fetchData = async () => {\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n> 129 | setLoading(true);\n | ^^^^^^^^^^^^^^^^^^^^^\n> 130 | const data = await getAllFeedback();\n | ^^^^^^^^^^^^^^^^^^^^^\n> 131 | setFeedback(data || []);\n | ^^^^^^^^^^^^^^^^^^^^^\n> 132 | setLoading(false);\n | ^^^^^^^^^^^^^^^^^^^^^\n> 133 | };\n | ^^^^^ `fetchData` is declared here\n 134 |\n 135 | const handleExport = () => {\n 136 | const worksheet = XLSX.utils.json_to_sheet(feedback.map(f => ({"
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\pages\\AdminLogin.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\pages\\Agent.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\pages\\Exchange.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"1:no-unused-vars - 'useMemo' is defined but never used.",
"4:no-unused-vars - 'TOKEN_ADDRESSES' is defined but never used.",
"83:no-unused-vars - 'quoteError' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\pages\\Features.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\pages\\Home.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\pages\\Journal.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"3:no-unused-vars - 'ArrowRight' is defined but never used.",
"3:no-unused-vars - 'TrendingUp' is defined but never used.",
"28:no-unused-vars - 'Pill' is assigned a value but never used.",
"53:no-unused-vars - 'Subtitle' is assigned a value but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\pages\\LegalPage.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\pages\\Login.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"1:no-unused-vars - 'useEffect' is defined but never used.",
"87:no-unused-vars - 'navigate' is assigned a value but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\pages\\Mint.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\src\\pages\\ProfileDashboard.jsx",
"errors": [
"1:no-unused-vars - 'React' is defined but never used.",
"3:no-unused-vars - 'keyframes' is defined but never used.",
"6:no-unused-vars - 'User' is defined but never used.",
"6:no-unused-vars - 'X' is defined but never used.",
"7:no-unused-vars - 'RefreshCw' is defined but never used.",
"7:no-unused-vars - 'Star' is defined but never used.",
"7:no-unused-vars - 'Cpu' is defined but never used.",
"7:no-unused-vars - 'CreditCard' is defined but never used.",
"184:no-unused-vars - 'location' is assigned a value but never used.",
"209:react-hooks/immutability - Error: Cannot access variable before it is declared\n\n`loadProfile` is accessed before it is declared, which prevents the earlier access from updating when this value changes over time.\n\n 207 | useEffect(() => {\n 208 | if (account) {\n> 209 | loadProfile(account);\n | ^^^^^^^^^^^ `loadProfile` accessed before it is declared\n 210 | } else {\n 211 | setHasProfile(false);\n 212 | setFormData({ name: '', email: '', phone: '', bio: '', avatarId: 1 });\n\n 215 | }, [account, isStellarConnected]);\n 216 |\n> 217 | const loadProfile = async (address) => {\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n> 218 | setLoading(true);\n | ^^^^^^^^^^^^^^^^^^^^^\n> 219 | try {\n …\n | ^^^^^^^^^^^^^^^^^^^^^\n> 270 | }\n | ^^^^^^^^^^^^^^^^^^^^^\n> 271 | };\n | ^^^^^ `loadProfile` is declared here\n 272 |\n 273 | const saveProfile = async () => {\n 274 | setSaving(true);",
"211:react-hooks/set-state-in-effect - Error: Calling setState synchronously within an effect can trigger cascading renders\n\nEffects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:\n* Update external systems with the latest state from React.\n* Subscribe for updates from some external system, calling setState in a callback function when external state changes.\n\nCalling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).\n\n 209 | loadProfile(account);\n 210 | } else {\n> 211 | setHasProfile(false);\n | ^^^^^^^^^^^^^ Avoid calling setState() directly within an effect\n 212 | setFormData({ name: '', email: '', phone: '', bio: '', avatarId: 1 });\n 213 | setUserTier(0);\n 214 | }",
"215:react-hooks/exhaustive-deps - React Hook useEffect has a missing dependency: 'loadProfile'. Either include it or remove the dependency array.",
"254:no-unused-vars - 'e' is defined but never used.",
"254:no-empty - Empty block statement.",
"264:no-unused-vars - 'e' is defined but never used.",
"264:no-empty - Empty block statement."
]
},
{
"file": "D:\\Workspace\\Projects\\spectrav2\\vite.config.js",
"errors": [
"6:no-undef - 'process' is not defined."
]
}
]