Skip to content

Commit

Permalink
fix: isLoading warning (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahin-hq authored Feb 27, 2024
1 parent 10558c4 commit 525e9ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@
"@typescript-eslint/no-unused-expressions": "warn",
"@typescript-eslint/no-unused-vars": [
"error",
{ "varsIgnorePattern": "_" }
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-var-requires": "warn",
"@typescript-eslint/prefer-regexp-exec": "warn",
Expand Down
1 change: 1 addition & 0 deletions src/app/components/Toast/Toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const Toast = forwardRef<HTMLDivElement, ToastProperties>(
isStatic = false,
isExpanded = false,
onClose,
isLoading: _isLoading,
...properties
}: ToastProperties,
reference,
Expand Down

0 comments on commit 525e9ce

Please sign in to comment.