Skip to content

Commit b53c0bd

Browse files
authored
Merge pull request #1692 from appirio-tech/hotfix/LoadingIndicator
Hotfix/loading indicator
2 parents 4a1fabe + 0c5a643 commit b53c0bd

File tree

4 files changed

+1
-3
lines changed

4 files changed

+1
-3
lines changed

src/assets/images/loader.gif

78.8 KB
Loading

src/components/LoadingIndicator/LoadingIndicator.jsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,9 @@ import cn from 'classnames'
55
require('./LoadingIndicator.scss')
66

77
const LoadingIndicator = ({ isSmall }) => {
8-
const backgroundImageUrl = { backgroundImage: `url(${require('./loader.gif')})` }
9-
108
return (
119
<div
1210
className={cn('loading-indicator', { small: isSmall })}
13-
style={backgroundImageUrl}
1411
/>
1512
)
1613
}

src/components/LoadingIndicator/LoadingIndicator.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
min-width: 70px;
66
background: 50% 50% no-repeat;
77
background-size: 70px 70px;
8+
background-image: url('../../assets/images/loader.gif');
89

910
&.small {
1011
height: 32px;
-106 KB
Binary file not shown.

0 commit comments

Comments
 (0)