mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Changed loading indicator to function component
This commit is contained in:
@@ -1,15 +1,11 @@
|
||||
import React, { PureComponent } from 'react'
|
||||
import React from 'react'
|
||||
|
||||
import styles from './LoadingIndicator.module.css'
|
||||
|
||||
class LoadingIndicator extends PureComponent {
|
||||
render() {
|
||||
export default function LoadingIndicator() {
|
||||
return (
|
||||
<div className={styles.loadContainer}>
|
||||
<div className={styles.load} />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export default LoadingIndicator
|
||||
|
Reference in New Issue
Block a user