File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
packages/lumx-react/src/components/thumbnail Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [ Unreleased]
9
9
10
+ ### Fixed
11
+
12
+ - Thumbnail: remove undesired console log.
13
+
10
14
## [ 3.5.1] [ ] - 2023-08-02
11
15
12
16
### Changed
@@ -1793,7 +1797,5 @@ _Failed released_
1793
1797
[ 3.4.0 ] : https://github.com/lumapps/design-system/tree/v3.4.0
1794
1798
[ unreleased ] : https://github.com/lumapps/design-system/compare/v3.5.0...HEAD
1795
1799
[ 3.5.0 ] : https://github.com/lumapps/design-system/tree/v3.5.0
1796
-
1797
-
1798
- [ Unreleased ] : https://github.com/lumapps/design-system/compare/v3.5.1...HEAD
1799
- [ 3.5.1 ] : https://github.com/lumapps/design-system/tree/v3.5.1
1800
+ [ unreleased ] : https://github.com/lumapps/design-system/compare/v3.5.1...HEAD
1801
+ [ 3.5.1 ] : https://github.com/lumapps/design-system/tree/v3.5.1
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ export type LoadingState = 'isLoading' | 'isLoaded' | 'hasError';
5
5
function getState ( img : HTMLImageElement | null | undefined , event ?: Event ) {
6
6
// Error event occurred or image has no source.
7
7
if ( event ?. type === 'error' || ( img ?. complete && ! img . getAttribute ( 'src' ) ) ) {
8
- console . log ( 'HAS ERROR' ) ;
9
8
return 'hasError' ;
10
9
}
11
10
// Image is undefined or incomplete.
You can’t perform that action at this time.
0 commit comments