You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we now have a very similar useEffect here and in TearsheetShell, we should think about putting this inside a custom hook that is used in both components. I don't want to hold up this PR longer, so lets look at that after we get this merged.
Create a custom hook to use across components those having similar useEffect for the useFocus hook.
Identified components:
TearsheetShell
APIKeyModal
The text was updated successfully, but these errors were encountered:
amal-k-joy
changed the title
refactor the useEffect used to invoke useFocus is various components
refactor the useEffect used to invoke useFocus in various components
Nov 13, 2024
From @matthewgallo 's comment from the PR
Create a custom hook to use across components those having similar
useEffect
for theuseFocus
hook.Identified components:
The text was updated successfully, but these errors were encountered: