Adding some more context.
The Ukrainian refugees are fellow Slavic people and
the refugees from last time were mostly Muslims from the Middle East... and that the Far-Right tends to be racist.
While the fact that Ukrainians belong to the same ethnicity as Poles definitely makes a difference in how people react, another fact that counts is that the Middle Eastern refugees did not get to Poland directly from a war zone, and they did not intend to seek asylum in Poland, they were flown into a peaceful country, Belarus, and were seeking to reach the richer countries of Europe like Germany, Sweden and the UK... Poland was just their second transit country after Belarus. I think that even discounting race, this is a big difference that we cannot simply forget about.
"Several academics have critiqued the use of cultural racism to describe prejudices and discrimination on the basis of cultural difference. Those who reserve the term racism for biological racism for instance do not believe that cultural racism is a useful or appropriate concept."