Skip to content

Commit

Permalink
Fixing icon issues with docs build and react build
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanksdesign committed Nov 16, 2021
1 parent d500957 commit 38ac9c0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/src/pages/components/togglebutton/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
IconFormatAlignLeft,
IconFormatAlignRight,
IconFormatBold,
IconFormatColorFill,
IconFormatColorReset,
IconFormatItalic,
IconFormatUnderlined,
ToggleButton,
Expand Down Expand Up @@ -49,7 +49,7 @@ export const MultipleSelectionDemo = () => {
<IconFormatUnderlined />
</ToggleButton>
<ToggleButton value="color-fill">
<IconFormatColorFill />
<IconFormatColorReset />
</ToggleButton>
</ToggleButtonGroup>
</Example>
Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
Heading,
View,
Text,
IconCopy,
IconContentCopy,
Flex,
Image,
} from '@aws-amplify/ui-react';
Expand Down Expand Up @@ -105,7 +105,7 @@ const HomePage = ({ colorMode }) => {
className="install-code"
innerEndComponent={
<Button variation="link">
<IconCopy /> Copy
<IconContentCopy /> Copy
</Button>
}
value={`npm i @aws-amplify/ui-${framework}`}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
],
"scripts": {
"prebuild": "rimraf dist",
"build": "yarn run build:icons && yarn run build:ts && yarn run build:catalog",
"build": "yarn run build:ts && yarn run build:catalog",
"build:ts": "tsup --minify --keep-names",
"build:catalog": "ts-node scripts/generatePrimitivesCatalog.ts",
"dev": "tsup --watch src",
Expand Down

0 comments on commit 38ac9c0

Please sign in to comment.