Skip to content

Commit 48c0f5b

Browse files
committed
Fix linter issues
1 parent ec9dfa1 commit 48c0f5b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/connect-react/src/hooks/form-context.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,10 @@ export const FormContextProvider = <T extends ConfigurableProps>({
241241
]);
242242

243243
// clear all props on user change
244-
const [prevUserId, setPrevUserId] = useState(userId)
244+
const [
245+
prevUserId,
246+
setPrevUserId,
247+
] = useState(userId)
245248
useEffect(() => {
246249
if (prevUserId !== userId) {
247250
updateConfiguredProps({});

0 commit comments

Comments
 (0)