Skip to content

Commit

Permalink
remove unused imports (#6052)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbuchel authored Nov 12, 2024
1 parent 2e3a051 commit 90cb443
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
import { Amplify } from 'aws-amplify';
import { createAIHooks, AIConversation } from '@aws-amplify/ui-react-ai';
import { generateClient } from 'aws-amplify/api';
import { AIConversation } from '@aws-amplify/ui-react-ai';
import '@aws-amplify/ui-react/styles.css';

import outputs from './amplify_outputs';
import type { Schema } from '@environments/ai/gen2/amplify/data/resource';
import { Authenticator, Card, Text } from '@aws-amplify/ui-react';
import Image from 'next/image';
import { INITIAL_MESSAGES } from '../constants';

const client = generateClient<Schema>({ authMode: 'userPool' });
const { useAIConversation } = createAIHooks(client);

Amplify.configure(outputs);

function arrayBufferToBase64(buffer: ArrayBuffer) {
Expand Down

0 comments on commit 90cb443

Please sign in to comment.