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

Reduce the amount of action imports for each Tornjak Web component #48

Open
lumjjb opened this issue May 6, 2021 · 0 comments
Open

Comments

@lumjjb
Copy link
Owner

lumjjb commented May 6, 2021

There are multiple imports from actions, this probably can be abstracted since it is only used for initialization of state.

import {
  serverSelectedFunc,
  agentsListUpdateFunc,
  tornjakServerInfoUpdateFunc,
  serverInfoUpdateFunc,
  selectorInfoFunc,
  tornjakMessegeFunc
} from 'actions';

Relevant files: components/*.component.js,
and call usage by components/tornjak-api-helpers.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant