Using react-effect for Result pattern matching in a Test component - Effect Community