How to use webhook in shopify remix

so in the shopify docs its saying that we can subscribe to webhook using app configuration file (toml) or using the API .
so in the toml file there is already an webhook for app uninstalled config like this

[webhooks]
api_version = “2024-07”

[[webhooks.subscriptions]]
topics = [ “app/uninstalled” ]
uri = “/webhooks”

but if I uninstall my app nothing is happening in the webhooks routes

Have you confirmed in the webhook logs of the app details (in partner dashboard) that the webhook is being fired? Often you will see here that a 5** error is displayed for this topic which means your app is not correctly configured or these .toml configurations have not been pushed to Shopify.