Pass Billing Checkout var in url to bypass credit card (#9283)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const activeDropdownFocusIdState = createState<string | null>({
|
||||
key: 'activeDropdownFocusIdState',
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const previousDropdownFocusIdState = createState<string | null>({
|
||||
key: 'previousDropdownFocusIdState',
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const isRightDrawerAnimationCompletedState = createState<boolean>({
|
||||
key: 'isRightDrawerAnimationCompletedState',
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const isRightDrawerMinimizedState = createState<boolean>({
|
||||
key: 'ui/layout/is-right-drawer-minimized',
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const isRightDrawerOpenState = createState<boolean>({
|
||||
key: 'ui/layout/is-right-drawer-open',
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
import { MessageThread } from '@/activities/emails/types/MessageThread';
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const rightDrawerCloseEventState = createState<Event | null>({
|
||||
key: 'rightDrawerCloseEventState',
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
import { RightDrawerTopBarDropdownButtons } from '@/ui/layout/right-drawer/types/RightDrawerTopBarDropdownButtons';
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
import { RightDrawerPages } from '../types/RightDrawerPages';
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const isDefaultLayoutAuthModalVisibleState = createState<boolean>({
|
||||
key: 'isDefaultLayoutAuthModalVisibleState',
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const navigationMemorizedUrlState = createState<string>({
|
||||
key: 'navigationMemorizedUrlState',
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export type StepsState = {
|
||||
activeStep: number;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
import { INITIAL_HOTKEYS_SCOPE } from '../../constants/InitialHotkeysScope';
|
||||
import { HotkeyScope } from '../../types/HotkeyScope';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const internalHotkeysEnabledScopesState = createState<string[]>({
|
||||
key: 'internalHotkeysEnabledScopesState',
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
import { Keys } from 'react-hotkeys-hook/dist/types';
|
||||
import { createState } from 'twenty-ui';
|
||||
|
||||
export const pendingHotkeyState = createState<Keys | null>({
|
||||
key: 'pendingHotkeyState',
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
import { HotkeyScope } from '../../types/HotkeyScope';
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const currentPageLocationState = createState<string>({
|
||||
key: 'currentPageLocationState',
|
||||
|
||||
Reference in New Issue
Block a user