refactor: better naming

This commit is contained in:
VardanHakobyan
2021-06-23 19:32:31 +03:00
parent e816b44026
commit 6ba3fbe9ca
3 changed files with 5 additions and 7 deletions

View File

@@ -277,7 +277,7 @@ const Authentication = observer(({
<div className="sk-panel-row" /> <div className="sk-panel-row" />
<button <button
type="button" type="button"
className="sk-a info font-bold text-left p-0 hover-text-underline mr-1 ml-1" className="sk-a info font-bold text-left p-0 hover:underline mr-1 ml-1"
onClick={() => { onClick={() => {
setShowAdvanced(!showAdvanced); setShowAdvanced(!showAdvanced);
}}> }}>

View File

@@ -39,11 +39,11 @@ export class AccountMenuState {
notesAndTagsCount: computed notesAndTagsCount: computed
}); });
this.addAppEventObserver(); this.addAppLaunchedEventObserver();
this.streamNotesAndTags(); this.streamNotesAndTags();
} }
addAppEventObserver = (): void => { addAppLaunchedEventObserver = (): void => {
this.appEventListeners.push( this.appEventListeners.push(
this.application.addEventObserver(async () => { this.application.addEventObserver(async () => {
runInAction(() => { runInAction(() => {

View File

@@ -8,10 +8,8 @@
display: none; display: none;
} }
.hover-text-underline { .hover\:underline:hover {
&:hover { text-decoration: underline;
text-decoration: underline;
}
} }
/** /**