fix: onboarding screen design issues (#1517)

* fix: projects empty state flicker

* fix: tour images padding

* chore: add greeting icon on the dashboard

* chore: update email id font weight

* fix: placeholder color
This commit is contained in:
Aaryan Khandelwal 2023-07-13 16:51:08 +05:30 committed by GitHub
parent 411a661abd
commit 864e592bc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 19 additions and 11 deletions

View file

@ -12,9 +12,9 @@ export const orderArrayBy = (
key: string,
ordering: "ascending" | "descending" = "ascending"
) => {
const array = [...orgArray];
if (!orgArray || !Array.isArray(orgArray) || orgArray.length === 0) return [];
if (!array || !Array.isArray(array) || array.length === 0) return [];
const array = [...orgArray];
if (key[0] === "-") {
ordering = "descending";