fix build client package

This commit is contained in:
Marco Beretta 2025-07-10 23:45:52 +02:00
parent 9f270127d3
commit 0b7dd55797
No known key found for this signature in database
GPG key ID: D918033D8E74CC11
22 changed files with 148 additions and 565 deletions

View file

@ -0,0 +1,20 @@
import { atom } from 'jotai';
import { NotificationSeverity } from '~/common';
export const langAtom = atom<string>('en');
export const chatDirectionAtom = atom<string>('ltr');
export const fontSizeAtom = atom<string>('text-base');
export type ToastState = {
open: boolean;
message: string;
severity: NotificationSeverity;
showIcon: boolean;
};
export const toastState = atom<ToastState>({
open: false,
message: '',
severity: NotificationSeverity.SUCCESS,
showIcon: true,
});