Skip to content

Commit

Permalink
chore: updates based on feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanksdesign committed Oct 10, 2024
1 parent 4f93890 commit 8b64b46
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
5 changes: 0 additions & 5 deletions .changeset/sharp-buttons-look.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
import * as React from 'react';

import { Amplify } from 'aws-amplify';
import { createAIHooks, AIConversation } from '@aws-amplify/ui-react-ai';
import { ThemeStyle, defineComponentTheme } from '@aws-amplify/ui-react/server';
import { generateClient } from 'aws-amplify/api';
import '@aws-amplify/ui-react/styles.css';
import outputs from './amplify_outputs';
import type { Schema } from '@environments/ai/gen2/amplify/data/resource';
import {
View,
createTheme,
defaultDarkModeOverride,
withAuthenticator,
ColorMode,
Button,
} from '@aws-amplify/ui-react';
import { ColorMode } from '@aws-amplify/ui-react';
import { Button } from '@aws-amplify/ui-react';
import { createAIHooks, AIConversation } from '@aws-amplify/ui-react-ai';
import { ThemeStyle, defineComponentTheme } from '@aws-amplify/ui-react/server';
import '@aws-amplify/ui-react/styles.css';

import outputs from './amplify_outputs';
import type { Schema } from '@environments/ai/gen2/amplify/data/resource';

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

0 comments on commit 8b64b46

Please sign in to comment.