score:44

Accepted answer

Try by removing * as. You are exporting Auth as default. Default export property we import directly without any * or {}.

import Auth from '../Auth/Auth';
..
const auth = new Auth();

Related Query

More Query from same tag