mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-25 16:31:37 +02:00
Switch from inline-spinner to spinner
This commit is contained in:
parent
a4899ad225
commit
f65eff103e
@ -25,7 +25,7 @@ import SettingsStore from "../../../settings/SettingsStore";
|
|||||||
import { Layout } from "../../../settings/Layout";
|
import { Layout } from "../../../settings/Layout";
|
||||||
import { UIFeature } from "../../../settings/UIFeature";
|
import { UIFeature } from "../../../settings/UIFeature";
|
||||||
import { replaceableComponent } from "../../../utils/replaceableComponent";
|
import { replaceableComponent } from "../../../utils/replaceableComponent";
|
||||||
import InlineSpinner from './InlineSpinner';
|
import Spinner from './Spinner';
|
||||||
|
|
||||||
interface IProps {
|
interface IProps {
|
||||||
/**
|
/**
|
||||||
@ -124,7 +124,7 @@ export default class EventTilePreview extends React.Component<IProps, IState> {
|
|||||||
"mx_GroupLayout": this.props.layout == Layout.Group,
|
"mx_GroupLayout": this.props.layout == Layout.Group,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!this.props.userId) return <div className={className} style={{ padding: '9px 0' }}><InlineSpinner /></div>;
|
if (!this.props.userId) return <div className={className} style={{ padding: '9px 0' }}><Spinner /></div>;
|
||||||
|
|
||||||
const event = this.fakeEvent(this.state);
|
const event = this.fakeEvent(this.state);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user