I have create a class component and use a arrow function and the system compile error for that. how to fix that?