A wedding guest whose invite was rescinded ponders whether to still give a gift

What’s the gift-giving etiquette when you’re cut from a wedding?