It does rain in deserts, California isn't mostly desert (about 38% by land area), and drought is defined relative to normal rainfall, so even a place that usually has very low rainfall can have droughts.
And also droughts are defined by lower than normal precipitation. So if it didn't rain in a desert, and it's still not raining in a desert, that wouldn't even be a drought anyway.