You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Switch from inline-spinner to spinner
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user