Significance: patch Type: fix Comment: Move registerFill call to inside an useEffect since it was updating a component while rendering another component