State tax filing

i sold a boat slip in one state, but live in another.  to which state do the capital gains go?