Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

routeTaskFromRouter is undefined #523

Open
basz opened this issue Oct 26, 2021 · 0 comments
Open

routeTaskFromRouter is undefined #523

basz opened this issue Oct 26, 2021 · 0 comments

Comments

@basz
Copy link

basz commented Oct 26, 2021

using the following

import { routeTaskFromRouter } from 'ember-route-task-helper';

is not possible as routeTaskFromRouter is undefined.

change the index.js to fixes it...

export {
  default as routeTask,
  routeTaskFromRouterService as routeTaskFromRouter
} from 'ember-route-task-helper/utils/route-task';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant