#1

React Review Audit

Openreact-doctor[bot]opened 6mo ago

Score: 82/100 · 10 errors · 249 warnings

Copy as prompt
Fix the following React Review diagnostics in my codebase.

## Errors (10)

1. [error] no-mutable-in-deps — src/pages/NotFound.tsx:12
   Mutable global "location.*" in deps — values like `location.pathname` can change without triggering a re-render, so they can't drive effect re-runs. Subscribe with useSyncExternalStore or read inside the effect

2. [error] rules-of-hooks — genius-prompt-enhancer/assets/ui.B4-mq2A6.js:9
   React Hook "useRef" is called in function "Anonymous" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

3. [error] rules-of-hooks — genius-prompt-enhancer/assets/ui.B4-mq2A6.js:9
   React Hook "useRef" is called in function "Anonymous" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

4. [error] rules-of-hooks — genius-prompt-enhancer/assets/ui.B4-mq2A6.js:9
   React Hook "useRef" cannot be called inside a callback. React Hooks must be called in a React function component or a custom React Hook function.

5. [error] rules-of-hooks — genius-prompt-enhancer/assets/ui.B4-mq2A6.js:9
   React Hook "useEffect" cannot be called inside a callback. React Hooks must be called in a React function component or a custom React Hook function.

6. [error] rules-of-hooks — genius-prompt-enhancer/assets/ui.B4-mq2A6.js:9
   React Hook "useCallback" is called in function "d" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

7. [error] rules-of-hooks — genius-prompt-enhancer/assets/index.CmrLis5A.js:66
   React Hook "useState" is called in function "Anonymous" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

8. [error] rules-of-hooks — genius-prompt-enhancer/assets/index.CmrLis5A.js:66
   React Hook "useEffect" is called in function "Anonymous" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

9. [error] rules-of-hooks — genius-prompt-enhancer/assets/index.D0x07wOx.js:66
   React Hook "useState" is called in function "Anonymous" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

10. [error] rules-of-hooks — genius-prompt-enhancer/assets/index.D0x07wOx.js:66
   React Hook "useEffect" is called in function "Anonymous" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

## Warnings (249)

11. [warning] no-react19-deprecated-apis — src/components/ui/separator.tsx:6
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

12. [warning] no-react19-deprecated-apis — src/components/ui/textarea.tsx:8
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

13. [warning] no-react19-deprecated-apis — src/components/ui/menubar.tsx:17
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

14. [warning] no-react19-deprecated-apis — src/components/ui/menubar.tsx:32
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

15. [warning] no-react19-deprecated-apis — src/components/ui/menubar.tsx:47
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

16. [warning] design-no-redundant-size-axes — src/components/ui/menubar.tsx:63
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

17. [warning] no-react19-deprecated-apis — src/components/ui/menubar.tsx:68
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

18. [warning] no-react19-deprecated-apis — src/components/ui/menubar.tsx:83
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

19. [warning] no-react19-deprecated-apis — src/components/ui/menubar.tsx:108
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

20. [warning] no-react19-deprecated-apis — src/components/ui/menubar.tsx:126
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

21. [warning] design-no-redundant-size-axes — src/components/ui/menubar.tsx:139
   w-3.5 h-3.5 → use the shorthand size-3.5 (Tailwind v3.4+)

22. [warning] design-no-redundant-size-axes — src/components/ui/menubar.tsx:141
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

23. [warning] no-react19-deprecated-apis — src/components/ui/menubar.tsx:149
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

24. [warning] design-no-redundant-size-axes — src/components/ui/menubar.tsx:161
   w-3.5 h-3.5 → use the shorthand size-3.5 (Tailwind v3.4+)

25. [warning] design-no-redundant-size-axes — src/components/ui/menubar.tsx:163
   w-2 h-2 → use the shorthand size-2 (Tailwind v3.4+)

26. [warning] no-react19-deprecated-apis — src/components/ui/menubar.tsx:171
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

27. [warning] no-react19-deprecated-apis — src/components/ui/menubar.tsx:189
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

28. [warning] no-react19-deprecated-apis — src/components/ui/select.tsx:13
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

29. [warning] design-no-redundant-size-axes — src/components/ui/select.tsx:27
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

30. [warning] no-react19-deprecated-apis — src/components/ui/select.tsx:33
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

31. [warning] design-no-redundant-size-axes — src/components/ui/select.tsx:45
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

32. [warning] no-react19-deprecated-apis — src/components/ui/select.tsx:50
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

33. [warning] design-no-redundant-size-axes — src/components/ui/select.tsx:62
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

34. [warning] no-react19-deprecated-apis — src/components/ui/select.tsx:68
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

35. [warning] no-react19-deprecated-apis — src/components/ui/select.tsx:100
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

36. [warning] no-react19-deprecated-apis — src/components/ui/select.tsx:112
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

37. [warning] design-no-redundant-size-axes — src/components/ui/select.tsx:124
   w-3.5 h-3.5 → use the shorthand size-3.5 (Tailwind v3.4+)

38. [warning] design-no-redundant-size-axes — src/components/ui/select.tsx:126
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

39. [warning] no-react19-deprecated-apis — src/components/ui/select.tsx:135
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

40. [warning] no-react19-deprecated-apis — src/components/ui/tabs.tsx:8
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

41. [warning] no-react19-deprecated-apis — src/components/ui/tabs.tsx:23
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

42. [warning] no-react19-deprecated-apis — src/components/ui/tabs.tsx:38
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

43. [warning] no-react19-deprecated-apis — src/components/ui/label.tsx:11
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

44. [warning] no-react19-deprecated-apis — src/components/ui/scroll-area.tsx:6
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

45. [warning] no-react19-deprecated-apis — src/components/ui/scroll-area.tsx:24
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

46. [warning] no-react19-deprecated-apis — src/components/ui/table.tsx:5
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

47. [warning] no-react19-deprecated-apis — src/components/ui/table.tsx:19
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

48. [warning] no-react19-deprecated-apis — src/components/ui/table.tsx:27
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

49. [warning] no-react19-deprecated-apis — src/components/ui/table.tsx:39
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

50. [warning] no-react19-deprecated-apis — src/components/ui/table.tsx:54
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

51. [warning] no-react19-deprecated-apis — src/components/ui/table.tsx:69
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

52. [warning] no-react19-deprecated-apis — src/components/ui/table.tsx:84
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

53. [warning] no-react19-deprecated-apis — src/components/ui/table.tsx:96
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

54. [warning] no-react19-deprecated-apis — src/components/ui/input.tsx:5
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

55. [warning] js-combine-iterations — src/utils/api.ts:43
   .map().filter() iterates the array twice — combine into a single loop with .reduce() or for...of

56. [warning] client-localstorage-no-version — src/utils/api.ts:187
   localStorage.setItem("promptHistory", JSON.stringify(...)) — bake a version into the key (e.g. "promptHistory:v1") so a future schema change can ignore old data instead of crashing on it

57. [warning] design-no-redundant-size-axes — src/components/ui/resizable.tsx:37
   w-2.5 h-2.5 → use the shorthand size-2.5 (Tailwind v3.4+)

58. [warning] no-react19-deprecated-apis — src/components/ui/switch.tsx:6
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

59. [warning] no-react19-deprecated-apis — src/components/ui/input-otp.tsx:7
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

60. [warning] no-react19-deprecated-apis — src/components/ui/input-otp.tsx:23
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

61. [warning] no-react19-deprecated-apis — src/components/ui/input-otp.tsx:31
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

62. [warning] no-react19-deprecated-apis — src/components/ui/input-otp.tsx:35
   useContext is superseded by `use()` on React 19+ — `use()` reads context conditionally inside hooks, branches, and loops; switch to `import { use } from 'react'`

63. [warning] no-react19-deprecated-apis — src/components/ui/input-otp.tsx:59
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

64. [warning] no-react19-deprecated-apis — src/components/ui/radio-group.tsx:7
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

65. [warning] no-react19-deprecated-apis — src/components/ui/radio-group.tsx:21
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

66. [warning] design-no-redundant-size-axes — src/components/ui/radio-group.tsx:35
   w-2.5 h-2.5 → use the shorthand size-2.5 (Tailwind v3.4+)

67. [warning] no-react19-deprecated-apis — src/components/ui/hover-card.tsx:10
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

68. [warning] design-no-default-tailwind-palette — src/pages/NotFound.tsx:15
   bg-gray-100 reads as the Tailwind template default — use zinc (true neutral), neutral (warmer), or stone (warmest)

69. [warning] design-no-bold-heading — src/pages/NotFound.tsx:17
   font-bold on <h1> crushes counter shapes at display sizes — use font-semibold (600) or font-medium (500)

70. [warning] design-no-default-tailwind-palette — src/pages/NotFound.tsx:18
   text-gray-600 reads as the Tailwind template default — use zinc (true neutral), neutral (warmer), or stone (warmest)

71. [warning] no-react19-deprecated-apis — src/components/ui/progress.tsx:6
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

72. [warning] no-react19-deprecated-apis — src/components/ui/slider.tsx:6
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

73. [warning] design-no-redundant-size-axes — src/components/ui/slider.tsx:21
   w-5 h-5 → use the shorthand size-5 (Tailwind v3.4+)

74. [warning] no-react19-deprecated-apis — src/components/ui/form.tsx:43
   useContext is superseded by `use()` on React 19+ — `use()` reads context conditionally inside hooks, branches, and loops; switch to `import { use } from 'react'`

75. [warning] no-react19-deprecated-apis — src/components/ui/form.tsx:44
   useContext is superseded by `use()` on React 19+ — `use()` reads context conditionally inside hooks, branches, and loops; switch to `import { use } from 'react'`

76. [warning] no-react19-deprecated-apis — src/components/ui/form.tsx:73
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

77. [warning] no-react19-deprecated-apis — src/components/ui/form.tsx:87
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

78. [warning] no-react19-deprecated-apis — src/components/ui/form.tsx:104
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

79. [warning] no-react19-deprecated-apis — src/components/ui/form.tsx:126
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

80. [warning] no-react19-deprecated-apis — src/components/ui/form.tsx:143
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

81. [warning] prefer-useReducer — src/pages/Index.tsx:41
   Component "Index" has 8 useState calls — consider useReducer for related state

82. [warning] no-giant-component — src/pages/Index.tsx:41
   Component "Index" is 538 lines — consider breaking it into smaller focused components

83. [warning] rendering-usetransition-loading — src/pages/Index.tsx:44
   useState for "isLoading" — if this guards a state transition (not an async fetch), consider useTransition instead

84. [warning] design-no-redundant-size-axes — src/pages/Index.tsx:238
   w-6 h-6 → use the shorthand size-6 (Tailwind v3.4+)

85. [warning] design-no-space-on-flex-children — src/pages/Index.tsx:296
   space-y-3 on a flex/grid parent — use gap-y-3 instead. Per-sibling margins phantom-gap on conditional render and don't mirror in RTL

86. [warning] design-no-redundant-size-axes — src/pages/Index.tsx:297
   w-16 h-16 → use the shorthand size-16 (Tailwind v3.4+)

87. [warning] design-no-redundant-size-axes — src/pages/Index.tsx:349
   w-3 h-3 → use the shorthand size-3 (Tailwind v3.4+)

88. [warning] design-no-space-on-flex-children — src/pages/Index.tsx:363
   space-x-3 on a flex/grid parent — use gap-x-3 instead. Per-sibling margins phantom-gap on conditional render and don't mirror in RTL

89. [warning] design-no-space-on-flex-children — src/pages/Index.tsx:385
   space-x-3 on a flex/grid parent — use gap-x-3 instead. Per-sibling margins phantom-gap on conditional render and don't mirror in RTL

90. [warning] design-no-redundant-size-axes — src/pages/Index.tsx:426
   w-6 h-6 → use the shorthand size-6 (Tailwind v3.4+)

91. [warning] design-no-redundant-size-axes — src/pages/Index.tsx:428
   w-6 h-6 → use the shorthand size-6 (Tailwind v3.4+)

92. [warning] design-no-space-on-flex-children — src/pages/Index.tsx:456
   space-x-3 on a flex/grid parent — use gap-x-3 instead. Per-sibling margins phantom-gap on conditional render and don't mirror in RTL

93. [warning] design-no-redundant-size-axes — src/pages/Index.tsx:509
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

94. [warning] design-no-redundant-size-axes — src/pages/Index.tsx:522
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

95. [warning] design-no-redundant-size-axes — src/pages/Index.tsx:527
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

96. [warning] no-gray-on-colored-background — src/pages/Index.tsx:533
   Gray text (text-zinc-800) on colored background (bg-amber-50) looks washed out — use a darker shade of the background color or white

97. [warning] design-no-redundant-size-axes — src/pages/Index.tsx:553
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

98. [warning] design-no-redundant-size-axes — src/pages/Index.tsx:563
   w-5 h-5 → use the shorthand size-5 (Tailwind v3.4+)

99. [warning] design-no-three-period-ellipsis — src/pages/Index.tsx:563
   Three-period ellipsis ("...") in JSX text — use the actual ellipsis character "…" (or `&hellip;`)

100. [warning] design-no-redundant-size-axes — src/pages/Index.tsx:568
   w-5 h-5 → use the shorthand size-5 (Tailwind v3.4+)

101. [warning] no-react19-deprecated-apis — src/components/ui/popover.tsx:10
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

102. [warning] no-react19-deprecated-apis — src/components/ui/dropdown-menu.tsx:19
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

103. [warning] design-no-redundant-size-axes — src/components/ui/dropdown-menu.tsx:35
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

104. [warning] no-react19-deprecated-apis — src/components/ui/dropdown-menu.tsx:41
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

105. [warning] no-react19-deprecated-apis — src/components/ui/dropdown-menu.tsx:57
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

106. [warning] no-react19-deprecated-apis — src/components/ui/dropdown-menu.tsx:75
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

107. [warning] no-react19-deprecated-apis — src/components/ui/dropdown-menu.tsx:93
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

108. [warning] design-no-redundant-size-axes — src/components/ui/dropdown-menu.tsx:106
   w-3.5 h-3.5 → use the shorthand size-3.5 (Tailwind v3.4+)

109. [warning] design-no-redundant-size-axes — src/components/ui/dropdown-menu.tsx:108
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

110. [warning] no-react19-deprecated-apis — src/components/ui/dropdown-menu.tsx:117
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

111. [warning] design-no-redundant-size-axes — src/components/ui/dropdown-menu.tsx:129
   w-3.5 h-3.5 → use the shorthand size-3.5 (Tailwind v3.4+)

112. [warning] design-no-redundant-size-axes — src/components/ui/dropdown-menu.tsx:131
   w-2 h-2 → use the shorthand size-2 (Tailwind v3.4+)

113. [warning] no-react19-deprecated-apis — src/components/ui/dropdown-menu.tsx:139
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

114. [warning] no-react19-deprecated-apis — src/components/ui/dropdown-menu.tsx:157
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

115. [warning] no-redundant-roles — src/components/ui/pagination.tsx:9
   The `nav` element has an implicit role of `navigation`. Defining this explicitly is redundant and should be avoided.

116. [warning] no-react19-deprecated-apis — src/components/ui/pagination.tsx:17
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

117. [warning] no-react19-deprecated-apis — src/components/ui/pagination.tsx:29
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

118. [warning] design-no-redundant-size-axes — src/components/ui/pagination.tsx:72
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

119. [warning] design-no-redundant-size-axes — src/components/ui/pagination.tsx:89
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

120. [warning] design-no-redundant-size-axes — src/components/ui/pagination.tsx:103
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

121. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:40
   useContext is superseded by `use()` on React 19+ — `use()` reads context conditionally inside hooks, branches, and loops; switch to `import { use } from 'react'`

122. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:48
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

123. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:157
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

124. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:260
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

125. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:286
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

126. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:315
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

127. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:333
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

128. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:351
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

129. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:366
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

130. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:381
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

131. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:396
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

132. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:414
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

133. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:429
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

134. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:450
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

135. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:473
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

136. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:486
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

137. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:499
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

138. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:534
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

139. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:593
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

140. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:624
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

141. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:645
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

142. [warning] no-usememo-simple-expression — src/components/ui/sidebar.tsx:652
   useMemo wrapping a trivially cheap expression — memo overhead exceeds the computation

143. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:683
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

144. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:700
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

145. [warning] no-react19-deprecated-apis — src/components/ui/sidebar.tsx:706
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

146. [warning] no-react19-deprecated-apis — src/components/ui/drawer.tsx:23
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

147. [warning] no-react19-deprecated-apis — src/components/ui/drawer.tsx:35
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

148. [warning] no-react19-deprecated-apis — src/components/ui/drawer.tsx:78
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

149. [warning] no-react19-deprecated-apis — src/components/ui/drawer.tsx:93
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

150. [warning] no-react19-deprecated-apis — src/components/ui/navigation-menu.tsx:8
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

151. [warning] no-react19-deprecated-apis — src/components/ui/navigation-menu.tsx:26
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

152. [warning] no-react19-deprecated-apis — src/components/ui/navigation-menu.tsx:47
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

153. [warning] design-no-redundant-size-axes — src/components/ui/navigation-menu.tsx:58
   w-3 h-3 → use the shorthand size-3 (Tailwind v3.4+)

154. [warning] no-react19-deprecated-apis — src/components/ui/navigation-menu.tsx:65
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

155. [warning] no-react19-deprecated-apis — src/components/ui/navigation-menu.tsx:82
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

156. [warning] no-react19-deprecated-apis — src/components/ui/navigation-menu.tsx:100
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

157. [warning] design-no-redundant-size-axes — src/components/ui/navigation-menu.tsx:112
   w-2 h-2 → use the shorthand size-2 (Tailwind v3.4+)

158. [warning] no-react19-deprecated-apis — src/components/ui/sheet.tsx:16
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

159. [warning] no-react19-deprecated-apis — src/components/ui/sheet.tsx:54
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

160. [warning] design-no-redundant-size-axes — src/components/ui/sheet.tsx:67
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

161. [warning] no-react19-deprecated-apis — src/components/ui/sheet.tsx:103
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

162. [warning] no-react19-deprecated-apis — src/components/ui/sheet.tsx:115
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

163. [warning] no-react19-deprecated-apis — src/components/ui/dialog.tsx:15
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

164. [warning] no-react19-deprecated-apis — src/components/ui/dialog.tsx:30
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

165. [warning] design-no-redundant-size-axes — src/components/ui/dialog.tsx:46
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

166. [warning] no-react19-deprecated-apis — src/components/ui/dialog.tsx:82
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

167. [warning] no-react19-deprecated-apis — src/components/ui/dialog.tsx:97
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

168. [warning] no-react19-deprecated-apis — src/components/ui/button.tsx:42
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

169. [warning] no-react19-deprecated-apis — src/components/ui/context-menu.tsx:19
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

170. [warning] design-no-redundant-size-axes — src/components/ui/context-menu.tsx:35
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

171. [warning] no-react19-deprecated-apis — src/components/ui/context-menu.tsx:40
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

172. [warning] no-react19-deprecated-apis — src/components/ui/context-menu.tsx:55
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

173. [warning] no-react19-deprecated-apis — src/components/ui/context-menu.tsx:72
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

174. [warning] no-react19-deprecated-apis — src/components/ui/context-menu.tsx:90
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

175. [warning] design-no-redundant-size-axes — src/components/ui/context-menu.tsx:103
   w-3.5 h-3.5 → use the shorthand size-3.5 (Tailwind v3.4+)

176. [warning] design-no-redundant-size-axes — src/components/ui/context-menu.tsx:105
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

177. [warning] no-react19-deprecated-apis — src/components/ui/context-menu.tsx:114
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

178. [warning] design-no-redundant-size-axes — src/components/ui/context-menu.tsx:126
   w-3.5 h-3.5 → use the shorthand size-3.5 (Tailwind v3.4+)

179. [warning] design-no-redundant-size-axes — src/components/ui/context-menu.tsx:128
   w-2 h-2 → use the shorthand size-2 (Tailwind v3.4+)

180. [warning] no-react19-deprecated-apis — src/components/ui/context-menu.tsx:136
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

181. [warning] no-react19-deprecated-apis — src/components/ui/context-menu.tsx:154
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

182. [warning] no-react19-deprecated-apis — src/components/ui/breadcrumb.tsx:7
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

183. [warning] no-react19-deprecated-apis — src/components/ui/breadcrumb.tsx:15
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

184. [warning] no-react19-deprecated-apis — src/components/ui/breadcrumb.tsx:30
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

185. [warning] no-react19-deprecated-apis — src/components/ui/breadcrumb.tsx:42
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

186. [warning] no-react19-deprecated-apis — src/components/ui/breadcrumb.tsx:60
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

187. [warning] design-no-redundant-size-axes — src/components/ui/breadcrumb.tsx:101
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

188. [warning] no-unknown-property — src/components/ui/command.tsx:42
   Unknown property found

189. [warning] no-react19-deprecated-apis — src/components/ui/command.tsx:9
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

190. [warning] no-react19-deprecated-apis — src/components/ui/command.tsx:38
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

191. [warning] design-no-redundant-size-axes — src/components/ui/command.tsx:43
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

192. [warning] no-react19-deprecated-apis — src/components/ui/command.tsx:57
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

193. [warning] no-react19-deprecated-apis — src/components/ui/command.tsx:70
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

194. [warning] no-react19-deprecated-apis — src/components/ui/command.tsx:83
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

195. [warning] no-react19-deprecated-apis — src/components/ui/command.tsx:99
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

196. [warning] no-react19-deprecated-apis — src/components/ui/command.tsx:111
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

197. [warning] no-react19-deprecated-apis — src/components/ui/tooltip.tsx:12
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

198. [warning] no-react19-deprecated-apis — src/components/ui/avatar.tsx:6
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

199. [warning] no-react19-deprecated-apis — src/components/ui/avatar.tsx:21
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

200. [warning] no-react19-deprecated-apis — src/components/ui/avatar.tsx:33
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

201. [warning] no-react19-deprecated-apis — src/components/ui/checkbox.tsx:7
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

202. [warning] design-no-redundant-size-axes — src/components/ui/checkbox.tsx:22
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

203. [warning] no-react19-deprecated-apis — src/components/ui/toggle.tsx:29
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

204. [warning] no-danger — src/components/ui/chart.tsx:79
   Do not use `dangerouslySetInnerHTML` prop

205. [warning] prefer-dynamic-import — src/components/ui/chart.tsx:2
   "recharts" is a heavy library — use React.lazy() or next/dynamic for code splitting

206. [warning] no-react19-deprecated-apis — src/components/ui/chart.tsx:26
   useContext is superseded by `use()` on React 19+ — `use()` reads context conditionally inside hooks, branches, and loops; switch to `import { use } from 'react'`

207. [warning] no-react19-deprecated-apis — src/components/ui/chart.tsx:35
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

208. [warning] no-react19-deprecated-apis — src/components/ui/chart.tsx:103
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

209. [warning] no-react19-deprecated-apis — src/components/ui/chart.tsx:259
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

210. [warning] design-no-redundant-size-axes — src/components/ui/chart.tsx:301
   w-2 h-2 → use the shorthand size-2 (Tailwind v3.4+)

211. [warning] no-react19-deprecated-apis — src/components/ui/toggle-group.tsx:15
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

212. [warning] no-react19-deprecated-apis — src/components/ui/toggle-group.tsx:33
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

213. [warning] no-react19-deprecated-apis — src/components/ui/toggle-group.tsx:38
   useContext is superseded by `use()` on React 19+ — `use()` reads context conditionally inside hooks, branches, and loops; switch to `import { use } from 'react'`

214. [warning] heading-has-content — src/components/ui/alert.tsx:39
   Headings must have content and the content must be accessible by a screen reader.

215. [warning] no-react19-deprecated-apis — src/components/ui/alert.tsx:22
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

216. [warning] no-react19-deprecated-apis — src/components/ui/alert.tsx:35
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

217. [warning] no-react19-deprecated-apis — src/components/ui/alert.tsx:47
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

218. [warning] no-react19-deprecated-apis — src/components/ui/carousel.tsx:34
   useContext is superseded by `use()` on React 19+ — `use()` reads context conditionally inside hooks, branches, and loops; switch to `import { use } from 'react'`

219. [warning] no-react19-deprecated-apis — src/components/ui/carousel.tsx:43
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

220. [warning] advanced-event-handler-refs — src/components/ui/carousel.tsx:107
   useEffect re-subscribes a "onSelect" listener every time the handler identity changes — store the handler in a ref and have the listener read `handlerRef.current()`, then drop it from the deps

221. [warning] no-react19-deprecated-apis — src/components/ui/carousel.tsx:151
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

222. [warning] no-react19-deprecated-apis — src/components/ui/carousel.tsx:173
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

223. [warning] no-react19-deprecated-apis — src/components/ui/carousel.tsx:195
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

224. [warning] design-no-redundant-size-axes — src/components/ui/carousel.tsx:217
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

225. [warning] no-react19-deprecated-apis — src/components/ui/carousel.tsx:224
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

226. [warning] design-no-redundant-size-axes — src/components/ui/carousel.tsx:246
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

227. [warning] no-react19-deprecated-apis — src/components/ui/alert-dialog.tsx:13
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

228. [warning] no-react19-deprecated-apis — src/components/ui/alert-dialog.tsx:28
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

229. [warning] no-react19-deprecated-apis — src/components/ui/alert-dialog.tsx:74
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

230. [warning] no-react19-deprecated-apis — src/components/ui/alert-dialog.tsx:86
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

231. [warning] no-react19-deprecated-apis — src/components/ui/alert-dialog.tsx:99
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

232. [warning] no-react19-deprecated-apis — src/components/ui/alert-dialog.tsx:111
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

233. [warning] heading-has-content — src/components/ui/card.tsx:36
   Headings must have content and the content must be accessible by a screen reader.

234. [warning] no-react19-deprecated-apis — src/components/ui/card.tsx:5
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

235. [warning] no-react19-deprecated-apis — src/components/ui/card.tsx:20
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

236. [warning] no-react19-deprecated-apis — src/components/ui/card.tsx:32
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

237. [warning] no-react19-deprecated-apis — src/components/ui/card.tsx:47
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

238. [warning] no-react19-deprecated-apis — src/components/ui/card.tsx:59
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

239. [warning] no-react19-deprecated-apis — src/components/ui/card.tsx:67
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

240. [warning] no-react19-deprecated-apis — src/components/ui/toast.tsx:10
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

241. [warning] no-react19-deprecated-apis — src/components/ui/toast.tsx:41
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

242. [warning] no-react19-deprecated-apis — src/components/ui/toast.tsx:56
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

243. [warning] no-react19-deprecated-apis — src/components/ui/toast.tsx:71
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

244. [warning] design-no-redundant-size-axes — src/components/ui/toast.tsx:84
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

245. [warning] no-react19-deprecated-apis — src/components/ui/toast.tsx:89
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

246. [warning] no-react19-deprecated-apis — src/components/ui/toast.tsx:101
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

247. [warning] no-react19-deprecated-apis — src/components/ui/accordion.tsx:9
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

248. [warning] no-react19-deprecated-apis — src/components/ui/accordion.tsx:21
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

249. [warning] design-no-redundant-size-axes — src/components/ui/accordion.tsx:35
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

250. [warning] no-react19-deprecated-apis — src/components/ui/accordion.tsx:41
   forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

251. [warning] design-no-redundant-size-axes — src/components/ui/calendar.tsx:55
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

252. [warning] design-no-redundant-size-axes — src/components/ui/calendar.tsx:56
   w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

253. [warning] no-children-prop — genius-prompt-enhancer/assets/vendor.CRtSlYBw.js:50
   Avoid passing children using a prop.

254. [warning] no-children-prop — genius-prompt-enhancer/assets/vendor.CRtSlYBw.js:50
   Avoid passing children using a prop.

255. [warning] no-children-prop — genius-prompt-enhancer/assets/vendor.CRtSlYBw.js:50
   Avoid passing children using a prop.

256. [warning] no-children-prop — genius-prompt-enhancer/assets/vendor.CRtSlYBw.js:50
   Avoid passing children using a prop.

257. [warning] no-children-prop — genius-prompt-enhancer/assets/vendor.CRtSlYBw.js:50
   Avoid passing children using a prop.

258. [warning] no-danger — genius-prompt-enhancer/assets/index.CmrLis5A.js:66
   Do not use `dangerouslySetInnerHTML` prop

259. [warning] no-danger — genius-prompt-enhancer/assets/index.D0x07wOx.js:66
   Do not use `dangerouslySetInnerHTML` prop

❌ Errors (10)

rules-of-hooks

React Hook "useRef" is called in function "Anonymous" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

genius-prompt-enhancer/assets/ui.B4-mq2A6.js:9
genius-prompt-enhancer/assets/ui.B4-mq2A6.js:9
genius-prompt-enhancer/assets/ui.B4-mq2A6.js:9
genius-prompt-enhancer/assets/ui.B4-mq2A6.js:9
genius-prompt-enhancer/assets/ui.B4-mq2A6.js:9
genius-prompt-enhancer/assets/index.CmrLis5A.js:66
genius-prompt-enhancer/assets/index.CmrLis5A.js:66
genius-prompt-enhancer/assets/index.D0x07wOx.js:66
genius-prompt-enhancer/assets/index.D0x07wOx.js:66

no-mutable-in-deps

Mutable global "location.*" in deps — values like location.pathname can change without triggering a re-render, so they can't drive effect re-runs. Subscribe with useSyncExternalStore or read inside the effect

Read mutable values (location.pathname, ref.current) inside the effect body instead of in the deps array, or subscribe with useSyncExternalStore. Mutations to these don't trigger re-renders, so listing them in deps doesn't make the effect react to changes

src/pages/NotFound.tsx:12


⚠️ Warnings (249)

no-react19-deprecated-apis

forwardRef is no longer needed on React 19+ — refs are regular props on function components; remove forwardRef and pass ref directly

Pass ref as a regular prop on function components — forwardRef is no longer needed in React 19+. Replace useContext(X) with use(X) for branch-aware context reads. Only enabled on projects detected as React 19+.

src/components/ui/separator.tsx:6
src/components/ui/textarea.tsx:8
src/components/ui/menubar.tsx:17
src/components/ui/menubar.tsx:32
src/components/ui/menubar.tsx:47
src/components/ui/menubar.tsx:68
src/components/ui/menubar.tsx:83
src/components/ui/menubar.tsx:108
src/components/ui/menubar.tsx:126
src/components/ui/menubar.tsx:149
src/components/ui/menubar.tsx:171
src/components/ui/menubar.tsx:189
src/components/ui/select.tsx:13
src/components/ui/select.tsx:33
src/components/ui/select.tsx:50
src/components/ui/select.tsx:68
src/components/ui/select.tsx:100
src/components/ui/select.tsx:112
src/components/ui/select.tsx:135
src/components/ui/tabs.tsx:8
src/components/ui/tabs.tsx:23
src/components/ui/tabs.tsx:38
src/components/ui/label.tsx:11
src/components/ui/scroll-area.tsx:6
src/components/ui/scroll-area.tsx:24
src/components/ui/table.tsx:5
src/components/ui/table.tsx:19
src/components/ui/table.tsx:27
src/components/ui/table.tsx:39
src/components/ui/table.tsx:54
src/components/ui/table.tsx:69
src/components/ui/table.tsx:84
src/components/ui/table.tsx:96
src/components/ui/input.tsx:5
src/components/ui/switch.tsx:6
src/components/ui/input-otp.tsx:7
src/components/ui/input-otp.tsx:23
src/components/ui/input-otp.tsx:31
src/components/ui/input-otp.tsx:35
src/components/ui/input-otp.tsx:59
src/components/ui/radio-group.tsx:7
src/components/ui/radio-group.tsx:21
src/components/ui/hover-card.tsx:10
src/components/ui/progress.tsx:6
src/components/ui/slider.tsx:6
src/components/ui/form.tsx:43
src/components/ui/form.tsx:44
src/components/ui/form.tsx:73
src/components/ui/form.tsx:87
src/components/ui/form.tsx:104
src/components/ui/form.tsx:126
src/components/ui/form.tsx:143
src/components/ui/popover.tsx:10
src/components/ui/dropdown-menu.tsx:19
src/components/ui/dropdown-menu.tsx:41
src/components/ui/dropdown-menu.tsx:57
src/components/ui/dropdown-menu.tsx:75
src/components/ui/dropdown-menu.tsx:93
src/components/ui/dropdown-menu.tsx:117
[src/components/ui/dropdown-menu.tsx:139]


Issue body truncated. See the full report at react.review/dashboard.

Activity

0

No activity yet.