Use LayoutPropType

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-02-05 08:17:30 +01:00
parent 20193ad7fe
commit f2d236d429
No known key found for this signature in database
GPG key ID: 9760693FDD98A790
4 changed files with 8 additions and 8 deletions

View file

@ -18,7 +18,7 @@ limitations under the License.
*/
import SettingsStore from "../../settings/SettingsStore";
import {Layout} from "../../settings/Layout";
import {LayoutPropType} from "../../settings/Layout";
import React, {createRef} from 'react';
import ReactDOM from "react-dom";
import PropTypes from 'prop-types';
@ -113,7 +113,7 @@ class TimelinePanel extends React.Component {
showReactions: PropTypes.bool,
// which layout to use
layout: Layout,
layout: LayoutPropType,
}
// a map from room id to read marker event timestamp