mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-16 19:27:03 +02:00
@replaceableComponent
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
46f7fadf3f
commit
50d6551c86
@ -41,6 +41,7 @@ import MatrixClientContext from "../../contexts/MatrixClientContext";
|
|||||||
import * as KeyboardShortcuts from "../../accessibility/KeyboardShortcuts";
|
import * as KeyboardShortcuts from "../../accessibility/KeyboardShortcuts";
|
||||||
import HomePage from "./HomePage";
|
import HomePage from "./HomePage";
|
||||||
import ResizeNotifier from "../../utils/ResizeNotifier";
|
import ResizeNotifier from "../../utils/ResizeNotifier";
|
||||||
|
import { replaceableComponent } from '../../utils/replaceableComponent';
|
||||||
// We need to fetch each pinned message individually (if we don't already have it)
|
// We need to fetch each pinned message individually (if we don't already have it)
|
||||||
// so each pinned message may trigger a request. Limit the number per room for sanity.
|
// so each pinned message may trigger a request. Limit the number per room for sanity.
|
||||||
// NB. this is just for server notices rather than pinned messages in general.
|
// NB. this is just for server notices rather than pinned messages in general.
|
||||||
@ -108,6 +109,7 @@ interface IState {
|
|||||||
*
|
*
|
||||||
* Components mounted below us can access the matrix client via the react context.
|
* Components mounted below us can access the matrix client via the react context.
|
||||||
*/
|
*/
|
||||||
|
@replaceableComponent("structures.LoggedInView")
|
||||||
class LoggedInView extends React.PureComponent<IProps, IState> {
|
class LoggedInView extends React.PureComponent<IProps, IState> {
|
||||||
static displayName = 'LoggedInView';
|
static displayName = 'LoggedInView';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user