Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set correct import location for code sample #203

Merged
merged 1 commit into from
Nov 8, 2021
Merged

Conversation

dpilch
Copy link
Member

@dpilch dpilch commented Nov 5, 2021

  • ./studio-ui -> ./ui-components.
  • utilizing the path defined in outputConfig would require a larger refactor

@@ -89,9 +89,6 @@ describe('ImportCollection', () => {

test('buildSampleSnippetImports', () => {
const importCollection = new ImportCollection();
importCollection.addImport('@aws-amplify/ui-react', 'Button');
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These lines were unnecessary for the test.

@@ -0,0 +1,40 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the file name?

@dpilch dpilch force-pushed the fix-sample-import branch from bda320d to 4b01cd9 Compare November 8, 2021 15:08
@dpilch dpilch force-pushed the fix-sample-import branch from 4b01cd9 to e61e0b5 Compare November 8, 2021 18:03
@dpilch dpilch merged commit aabb39f into main Nov 8, 2021
@dpilch dpilch deleted the fix-sample-import branch November 8, 2021 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants