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 accb2e0 commit bd19309Copy full SHA for bd19309
src/backend/controllers/createTree/statePropExtractors.ts
@@ -190,7 +190,7 @@ export function getHooksNames(elementType: string): { hookName: string; varName:
190
declarations[2]?.id?.name || // work react application
191
(Array.isArray(declarations[0]?.id?.elements)
192
? declarations[0]?.id?.elements[0]?.name
193
- : undefined); //work for nextJS
+ : undefined); //work for nextJS & Remix
194
// Push reactHook & varName to statements array
195
statements.push({ hookName, varName });
196
}
0 commit comments