State & Code are persisted after successful logging

I am using @auth0/auth0-spa-js with Angular 7. We are using hashing for angular routing so my URL contains hash i.e. http://localhost:63291/#/dashboard.

After successful logging in on auth0 the state & code get’s persisted inside the URL.
My URL looks like this - http://localhost:63291/?code=9WkyA07K-zvOC2eU&state=LjRsSkU4ZHhmWS5Nald5YjBLVS1QZnBoVjdaNUppfm0ta2hEblVhS0ZGZA%3D%3D#/dashboard

Is there any way to fix this ?