Use LayoutPropType
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
20193ad7fe
commit
f2d236d429
4 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue