Skip to content

Commit

Permalink
fix circular dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
CachedaCodes committed Mar 5, 2024
1 parent 1726ea9 commit b3721e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/x-components/src/components/global-x-bus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { XEventListeners } from '../x-installer/api/api.types';
import { WireMetadata } from '../wiring/wiring.types';
import { XEventsTypes } from '../wiring/events.types';
import { useNoElementRender } from '../composables';
import { useNoElementRender } from '../composables/use-no-element-render';
import { useXBus } from '../composables/use-x-bus';
/**
Expand Down
9 changes: 5 additions & 4 deletions packages/x-components/src/composables/use-x-bus.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import Vue, { getCurrentInstance, inject } from 'vue';
import { XBus } from '@empathyco/x-bus';
import { bus } from '../plugins/x-bus';
import { WireMetadata, XEvent, XEventPayload, XEventsTypes } from '../wiring/index';
import { getRootXComponent, getXComponentXModuleName } from '../components/index';
import { FeatureLocation } from '../types/index';
import { PropsWithType } from '../utils/index';
import { XEvent, XEventPayload, XEventsTypes } from '../wiring/events.types';
import { WireMetadata } from '../wiring/wiring.types';
import { getRootXComponent, getXComponentXModuleName } from '../components/x-component.utils';
import { FeatureLocation } from '../types/origin';
import { PropsWithType } from '../utils/types';

/**
* Composable which injects the current location,
Expand Down

0 comments on commit b3721e1

Please sign in to comment.