Skip to content

How to list array inside a javascript alert

I have an array of strings, I want to display the content with some html tags in the alert level. I tried this: but the problem here, I got only the first line with *. how can I resolvr this probleme to show all the lements with * in the begining ? Answer Using .concat() and .trim():

Next.js router locale issue

I have set up some locales for our app which are uk and us. For the blog we can have either us/blog or just /blog for the uk locale. When I switch to us like so: (locale = “us”) the url gets correctly updated to have us/ prepended. When I switch back to uk using handleRoute (locale= “”…