Enable @typescript-eslint/explicit-member-accessibility on /src (#9785)
* Enable `@typescript-eslint/explicit-member-accessibility` on /src * Prettier
This commit is contained in:
@@ -51,7 +51,7 @@ interface IState {
|
||||
* Component which shows the filtered file using a TimelinePanel
|
||||
*/
|
||||
class FilePanel extends React.Component<IProps, IState> {
|
||||
static contextType = RoomContext;
|
||||
public static contextType = RoomContext;
|
||||
|
||||
// This is used to track if a decrypted event was a live event and should be
|
||||
// added to the timeline.
|
||||
@@ -59,7 +59,7 @@ class FilePanel extends React.Component<IProps, IState> {
|
||||
public noRoom: boolean;
|
||||
private card = createRef<HTMLDivElement>();
|
||||
|
||||
state = {
|
||||
public state = {
|
||||
timelineSet: null,
|
||||
narrow: false,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user