I think with redwood it is fine, but the stairs shouldn't just sit on the dirt like that. The wood will rot
exponentially faster and the stairs will become unstable as runoff moves the dirt under the stairs. There should've been a footing poured either in the form of a cement pad or an individual column of cement for each individual stair joist.