Skip to content

Commit

Permalink
fix: log
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-smith-tcril authored Dec 11, 2024
1 parent 964623b commit 3678ea4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Truncate/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ TruncateDeprecated.defaultProps = {
};

function Truncate() {
useEffect(() => {

Check failure on line 70 in src/Truncate/index.jsx

View workflow job for this annotation

GitHub Actions / tests

'useEffect' is not defined
console.log('Please use Truncate.Deprecated until a replacement is created');

Check warning on line 71 in src/Truncate/index.jsx

View workflow job for this annotation

GitHub Actions / tests

Unexpected console statement
}, []);
return null;
}
Truncate.Deprecated = TruncateDeprecated;
Expand Down

0 comments on commit 3678ea4

Please sign in to comment.