Skip to content

Commit

Permalink
Revert "chore: temporarily typecast custom theme"
Browse files Browse the repository at this point in the history
This reverts commit 018975d.
  • Loading branch information
Hein Jeong authored and hein-j committed Dec 6, 2022
1 parent bb9f04d commit fa4769b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,8 @@ export default function ComponentTests() {
return null;
}

// TODO: remove typecasting once ui-react issue settled
return (
<AmplifyProvider theme={MyTheme as any}>
<AmplifyProvider theme={MyTheme}>
<h1>Generated Component Tests</h1>
<div id={'basic-components'}>
<h2>Basic Components</h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ export default function FormTests() {
if (!isInitialized) {
return null;
}
// TODO: remove typecasting once ui-react issue settled
return (
<AmplifyProvider theme={MyTheme as any}>
<AmplifyProvider theme={MyTheme}>
<View id="expanderWithSlot">
<Heading>Expander with Component Slot</Heading>
<ListingExpanderWithComponentSlot />
Expand Down

0 comments on commit fa4769b

Please sign in to comment.