fix: Emoji in title positioning (#2927)

* wip

* fix measure on first render

* wip

* refactor

* tsc

* remove fragment

* refactor (again)

* cleanup
This commit is contained in:
Tom Moor
2022-01-16 17:02:33 -08:00
committed by GitHub
parent 5abc73fabc
commit d0e7f2de65
8 changed files with 40 additions and 30 deletions

View File

@@ -96,6 +96,7 @@ export default class Document extends BaseModel {
}
}
@computed
get emoji() {
const { emoji } = parseTitle(this.title);
return emoji;