Unused variables showing in page modes list

Why does all the variables from other files I bring into my new file don’t go away?
I’ve made a test and deleted all pages from the file, and the variables list are still listed there. This is leading to a lot of confusion internally!

Screenshot 2023-11-01 at 17.51.58

Can someone tell me how to get rid of them? Detached deleted variable command doesn’t work for this.

Hey there, sorry to hear this is happening!

When using the detach deleted variables command, are you running this on every page of your file?

If yes, and you still see this persisting, try closing the file for a couple minutes so the garbage collection routine can run.

If you see it still persisting beyond that, please reach out to the support team directly via this form for help: https://help.figma.com/hc/en-us/requests/new

Be sure to use your Figma account email, include a link to the file, and share it with support-share@figma.com, so they can take a closer look.