Her being Hispanic didn’t have any meaningful impact to the story, so why not just let her character be white? If they did it to make the film more appealing to Hispanic viewers, then surely an actually Hispanic actor would have been a better fit. White actors have historically been given distinctly non-white roles just because Hollywood is afraid of melanin.
That’s the modern version of Lady Acting is Illegal | Upstart Crow | BBC Comedy Greats