refactor: better naming
This commit is contained in:
@@ -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);
|
||||||
}}>
|
}}>
|
||||||
|
|||||||
@@ -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(() => {
|
||||||
|
|||||||
@@ -8,10 +8,8 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hover-text-underline {
|
.hover\:underline:hover {
|
||||||
&:hover {
|
text-decoration: underline;
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user