Skip to content

Commit

Permalink
Components: Fix truncate export (#28527)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend authored Jan 27, 2021
1 parent 3e6cf7b commit 14ea1b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/truncate/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export { default as Truncate } from './truncate';
export { default } from './truncate';

export * from './use-truncate';
2 changes: 1 addition & 1 deletion packages/components/src/truncate/stories/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Internal dependencies
*/
import { Truncate } from '../index';
import Truncate from '../index';

export default {
component: Truncate,
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/truncate/test/truncate.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { render } from '@testing-library/react';
/**
* Internal dependencies
*/
import { Truncate } from '../index';
import Truncate from '..';

describe( 'props', () => {
test( 'should render correctly', () => {
Expand Down

0 comments on commit 14ea1b5

Please sign in to comment.