Skip to content

Commit

Permalink
fix:prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
CiaranMn committed Sep 19, 2024
1 parent f6e5b03 commit 4ea32cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion apps/hash-frontend/src/pages/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
font-style: normal;
font-weight: 500;
font-display: swap;
src: url("/fonts/OpenSauceTwo-Medium.ttf") format("truetype"),
src:
url("/fonts/OpenSauceTwo-Medium.ttf") format("truetype"),
url("/fonts/OpenSauceTwo-Medium.woff") format("woff");
}
@font-face {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ export const TypesTable: FunctionComponent<{
? "link-type"
: "entity-type"
: type.schema.kind === "propertyType"
? "property-type"
: "data-type",
? "property-type"
: "data-type",
external: isExternal,
webShortname,
archived: isTypeArchived(type),
Expand Down Expand Up @@ -273,22 +273,22 @@ export const TypesTable: FunctionComponent<{
["lastEditedBy", "createdBy"].includes(key);

const value1: string = isActorSort(sort.columnKey)
? a[sort.columnKey]?.displayName ?? ""
? (a[sort.columnKey]?.displayName ?? "")
: String(a[sort.columnKey]);

const value2: string = isActorSort(sort.columnKey)
? b[sort.columnKey]?.displayName ?? ""
? (b[sort.columnKey]?.displayName ?? "")
: String(b[sort.columnKey]);

const previousValue1: string | undefined = previousSort
? isActorSort(previousSort.columnKey)
? a[previousSort.columnKey]?.displayName ?? ""
? (a[previousSort.columnKey]?.displayName ?? "")
: String(a[previousSort.columnKey])
: undefined;

const previousValue2: string | undefined = previousSort?.columnKey
? isActorSort(previousSort.columnKey)
? b[previousSort.columnKey]?.displayName ?? ""
? (b[previousSort.columnKey]?.displayName ?? "")
: String(b[previousSort.columnKey])
: undefined;

Expand Down

0 comments on commit 4ea32cb

Please sign in to comment.