It's not a bad thing but I would recommend that you rinse the bike off well. I wouldn't just dry it but seriously get a bottle of water and rinse the bike down 2-3 times. I know it seems excessive but it takes 3 good rinsings to remove over 99% of substance out. Once that is done, dry thoroughly then lube. I like to use compressed air to blow dry the bike and all the drivetrain stuff. Last I would use WD40 to displace any remaining water on the drivetrain, let dry overnight then lube with your favorite lube.