If the water was above the axles, I'd take them out and clean any (salt) water off them. They aren't fun to remove when corrosion takes over. If the water was real bad, you can also pop the seals off the wheel bearings and repack them with grease. I believe this bike has suspension bearings too.
Since your bike is so new, I doubt a foot of water penetrated fresh grease. So all this might be not be necessary. Usually, it takes at least 30,000 miles or a few years to be vulnerable.