doc(state): fix docstring