Skip to content

Commit

Permalink
fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
valdio committed Dec 10, 2020
1 parent a9556d4 commit f9b44f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const SnackBar: ISnackBar = {
warnDeprecation(options, 'color', 'textColor');

const text = options.text || options.title;
const numberOfLines = options.numberOfLines
const { numberOfLines } = options;
// eslint-disable-next-line no-param-reassign
delete options.title;
const textColorRaw = options.textColor || options.color;
Expand Down

0 comments on commit f9b44f6

Please sign in to comment.