Fixes the error "bad component(expected host component): localhost:3000"