13 lines
319 B
TypeScript
13 lines
319 B
TypeScript
import { createState } from 'twenty-ui';
|
|
import { ClientConfig } from '~/generated/graphql';
|
|
|
|
export const domainConfigurationState = createState<
|
|
Pick<ClientConfig, 'frontDomain' | 'defaultSubdomain'>
|
|
>({
|
|
key: 'domainConfiguration',
|
|
defaultValue: {
|
|
frontDomain: '',
|
|
defaultSubdomain: undefined,
|
|
},
|
|
});
|