refactor(core): remove barrel files and use auto-imports instead
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import useState from './state'
|
||||
import type {
|
||||
Actions,
|
||||
ComputedGetters,
|
||||
@@ -20,7 +19,7 @@ import type {
|
||||
State,
|
||||
} from '~/types'
|
||||
|
||||
export default (state: State, getters: ComputedGetters): Actions => {
|
||||
export function useActions(state: State, getters: ComputedGetters): Actions {
|
||||
const updateNodeInternals: Actions['updateNodeInternals'] = (ids) => {
|
||||
state.hooks.updateNodeInternals.trigger(ids)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user