[fixed] Function is called without clicking button

What I’m trying to do:
To make my website
What I’ve tried and what’s not working:
I don’t know why but whenever the website launches the redirect_mail function is called without clicking the button
Code Sample:

  def redirect_mail(self, x, y, button, **event_args):
    """This method is called when a mouse button is pressed on this component"""
  window.open("mailto:dot@dotcodes.dev")

Clone link:
https://anvil.works/build#clone:A5RJGGGQII6VGDP5=JKJI52C5PWWTZWBTJG6II4CU
Live Link:

I tried cloning the repo and using grep to see where the function is called but it’s only mentioned in 2 places out of the whole program and one is when I create it and one in the mouse_down thing

Okay I fixed it somehow

You often need to search not only the .py files, but the .yaml files as well.