fix(fe2): accept invite before onboarding after sign up (#2491)
* explicitly ordering global middlewares * various subscription fixes & WIP project invite middleware * SSR invite accept & toast notifs seem to work * backend support for mixpanel * mixpanel be logic -> shared * minor fix * finissh * lint fix * minor comment adjustments * better adblock handling
This commit is contained in:
committed by
GitHub
parent
790d97383c
commit
ee5ae8af62
@@ -1,4 +1,4 @@
|
||||
import { isNull, isNumber, isUndefined } from '#lodash'
|
||||
import { isNull, isNumber, isUndefined, noop } from '#lodash'
|
||||
import type {
|
||||
MaybeAsync,
|
||||
NonNullableProperties,
|
||||
@@ -144,3 +144,5 @@ export const removeNullOrUndefinedKeys = <T extends Record<string, unknown>>(
|
||||
|
||||
export const isArrayOf = <T>(arr: unknown, guard: (v: unknown) => v is T): arr is T[] =>
|
||||
Array.isArray(arr) && arr.every(guard)
|
||||
|
||||
export const waitForever = (): Promise<never> => new Promise<never>(noop)
|
||||
|
||||
Reference in New Issue
Block a user