File tree Expand file tree Collapse file tree 4 files changed +280
-516
lines changed
src/components/src/ChatBot Expand file tree Collapse file tree 4 files changed +280
-516
lines changed Original file line number Diff line number Diff line change 44 "main" : " index.js" ,
55 "license" : " MIT" ,
66 "dependencies" : {
7- "@aws-amplify/core" : " ^3.2.7" ,
8- "@aws-amplify/interactions" : " ^3.1.10" ,
97 "@babel/core" : " ^7.7.7" ,
108 "@babel/plugin-transform-react-jsx-development" : " ^7.9.0" ,
119 "@react-workspaces/react-scripts" : " ^3.0.1-alpha-07" ,
2018 "aframe-look-at-component" : " ^0.8.0" ,
2119 "aframe-particle-system-component" : " ^1.1.3" ,
2220 "aframe-react" : " ^4.4.0" ,
21+ "aws-amplify" : " ^2.2.1" ,
22+ "aws-amplify-react" : " ^3.1.2" ,
2323 "babel-eslint" : " 10.0.2" ,
2424 "babel-jest" : " 24.8.0" ,
2525 "babel-loader" : " ^8.0.6" ,
Original file line number Diff line number Diff line change 2020 */
2121
2222import React , { Component } from 'react' ;
23- import Amplify from '@aws-amplify/core' ;
24- import Interactions from '@aws-amplify/interactions' ;
23+ import Amplify , { Interactions } from 'aws-amplify' ;
2524// @ts -ignore
2625// eslint-disable-next-line import/no-webpack-loader-syntax,import/no-unresolved
2726import awsmobile from '../../../aws-exports' ;
Original file line number Diff line number Diff line change 2121
2222import React from 'react' ;
2323import intl from 'react-intl-universal' ;
24- import Interactions from '@ aws-amplify/interactions ' ;
24+ import { Interactions } from 'aws-amplify' ;
2525import { ThemeProvider } from 'styled-components' ;
2626import ChatBot from 'react-simple-chatbot' ;
2727import Review from './chatbot.review' ;
You can’t perform that action at this time.
0 commit comments