Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
state?
isLoadingunmounted component?
AuthCodeForm원인 : 비동기로 처리되는 useForm의
setIsLoading(false)가 AuthCodeForm이 언마운트된 상태에서 수행됐기 때문에 발생함해결 : useEffect cleanup function을 사용
![[팀3] 아이육](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F42f3f288-cddc-4aa9-9c8c-5fda2385816c%2F%E1%84%8B%E1%85%A1%E1%84%8B%E1%85%B5%E1%84%8B%E1%85%B2.jpeg?table=block&id=28f236d1-2c78-43ef-b1a5-662df6e93477&cache=v2)