Update src/components/views/rooms/PinnedEventTile.tsx

Co-authored-by: Travis Ralston <travisr@matrix.org>
This commit is contained in:
Michael Telatynski 2021-06-03 08:03:31 +01:00 committed by GitHub
parent 1ff870927a
commit 53fc475539
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ const AVATAR_SIZE = 24;
@replaceableComponent("views.rooms.PinnedEventTile")
export default class PinnedEventTile extends React.Component<IProps> {
static contextType = MatrixClientContext;
public static contextType = MatrixClientContext;
private onTileClicked = () => {
dis.dispatch({