You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Tools: Add class member accessibility modifiers and converted rule @typescript-eslint/explicit-member-accessibility to an error
This commit is contained in:
@ -11,7 +11,7 @@ interface Props {
|
||||
}
|
||||
|
||||
class NoteStatusBarComponent extends React.Component<Props> {
|
||||
style() {
|
||||
public style() {
|
||||
const theme = themeStyle(this.props.themeId);
|
||||
|
||||
const style = {
|
||||
@ -24,7 +24,7 @@ class NoteStatusBarComponent extends React.Component<Props> {
|
||||
return style;
|
||||
}
|
||||
|
||||
render() {
|
||||
public render() {
|
||||
const note = this.props.note;
|
||||
return <div style={this.style().root}>{time.formatMsToLocal(note.user_updated_time)}</div>;
|
||||
}
|
||||
|
Reference in New Issue
Block a user