Skip to content

Commit

Permalink
Adapt imports
Browse files Browse the repository at this point in the history
  • Loading branch information
pilhuhn committed Nov 27, 2024
1 parent 4916d71 commit c15c4cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import PFIconLogoColor from '../UI/PF-IconLogo-Color.svg';
import PFIconLogoReverse from '../UI/PF-IconLogo-Reverse.svg';
import userAvatar from '../Messages/user_avatar.svg';
import patternflyAvatar from '../Messages/patternfly_avatar.jpg';
import { getTrackingProviders } from "@patternfly/virtual-assistant/dist/dynamic/tracking";
import { getTrackingProviders } from "@patternfly/chatbot/dist/dynamic/tracking";


### Basic chatbot
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import PFIconLogoReverse from '../UI/PF-IconLogo-Reverse.svg';
import userAvatar from '../Messages/user_avatar.svg';
import patternflyAvatar from '../Messages/patternfly_avatar.jpg';
import { getTrackingProviders } from "@patternfly/chatbot/dist/dynamic/tracking";

Check failure on line 35 in packages/module/patternfly-docs/content/extensions/chatbot/examples/demos/Chatbot.tsx

View workflow job for this annotation

GitHub Actions / call-build-lint-test-workflow / lint

Replace `"@patternfly/chatbot/dist/dynamic/tracking"` with `'@patternfly/chatbot/dist/dynamic/tracking'`
import { InitProps } from "../../../../../../src/tracking/tracking_spi";
import { InitProps } from "@patternfly/chatbot/dist/tracking/tracking_spi";

Check failure on line 36 in packages/module/patternfly-docs/content/extensions/chatbot/examples/demos/Chatbot.tsx

View workflow job for this annotation

GitHub Actions / call-build-lint-test-workflow / lint

Replace `"@patternfly/chatbot/dist/tracking/tracking_spi"` with `'@patternfly/chatbot/dist/tracking/tracking_spi'`

const footnoteProps = {
label: 'Lightspeed uses AI. Check for mistakes.',
Expand Down Expand Up @@ -103,7 +103,7 @@ const initProps: InitProps = {
};

const tracking = getTrackingProviders(initProps);
tracking.identify('user-123');
tracking.identify('user-123'); // TODO get real user id
tracking.trackPageView();

const actionEventName = 'MessageAction';
Expand Down

0 comments on commit c15c4cc

Please sign in to comment.