wrangler ignores KV bindings in config

I've used the following in my wrangler.toml:
kv_namespaces = [
  { binding = "BROWSER_SCREENSHOT_CACHE", id = "xxx" }
]
. However, once I deploy the worker, the KV binding gets removed and is no longer available in the code and not visible in the dashboard as binded. However, I can add it in the dashboard and it works thinkies
(Using the wrangler.toml code by the dash doesn't change anything, it's the same)
Was this page helpful?