fix: emoji render function (#1484)
* fix: emoji render function * fix: emoji render function
This commit is contained in:
parent
3a2f4d55d7
commit
49f37e0346
8 changed files with 40 additions and 30 deletions
|
|
@ -27,6 +27,8 @@ import {
|
|||
DangerButton,
|
||||
} from "components/ui";
|
||||
import { BreadcrumbItem, Breadcrumbs } from "components/breadcrumbs";
|
||||
// helpers
|
||||
import { renderEmoji } from "helpers/emoji.helper";
|
||||
// types
|
||||
import { IProject, IWorkspace } from "types";
|
||||
import type { NextPage } from "next";
|
||||
|
|
@ -186,7 +188,7 @@ const GeneralSettings: NextPage = () => {
|
|||
{value.name}
|
||||
</span>
|
||||
) : (
|
||||
String.fromCodePoint(parseInt(value))
|
||||
renderEmoji(value)
|
||||
)
|
||||
) : (
|
||||
"Icon"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue