diff --git a/.env.example b/.env.example index 4f3588b..5a32295 100644 --- a/.env.example +++ b/.env.example @@ -1,11 +1,5 @@ -# "local" | "staging" | "production" -APP_ENV="" - -# API Base URL and Bearer Token AF_DB_URL="" -AF_BEARER_TOKEN="" - -# SNS Configuration AF_TOPIC_ARN="" +AF_BEARER_TOKEN="" AF_ACCESS_KEY_ID="" AF_SECRET_ACCESS_KEY="" diff --git a/src/components/ui/calendar.tsx b/src/components/ui/calendar.tsx index cc81240..486ec73 100644 --- a/src/components/ui/calendar.tsx +++ b/src/components/ui/calendar.tsx @@ -49,8 +49,8 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }: C ...classNames, }} components={{ - IconLeft: ({ ...props }) => , - IconRight: ({ ...props }) => , + IconLeft: ({ ...props }) => , + IconRight: ({ ...props }) => , Dropdown: ({ name, value, children, onChange }) => { type OptionElement = React.ReactElement>; const options = React.Children.toArray(children) as OptionElement[]; @@ -74,7 +74,7 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }: C > - + {options.map((option, index) => { return ( - + )); @@ -46,7 +46,7 @@ const ControlledCheckbox = React.forwardRef< render={({ field }) => ( - {option.label} + {option.label} )} /> diff --git a/src/components/ui/date-time.tsx b/src/components/ui/date-time.tsx index dcc70aa..9c1bedf 100644 --- a/src/components/ui/date-time.tsx +++ b/src/components/ui/date-time.tsx @@ -48,18 +48,18 @@ const DateTimePicker = forwardRef< ref={refField} disabled={disabled} > - + {value ? ( format(value, 'PP') ) : ( - + Pick a date and time )} - + handleSelect(d)} onMonthChange={handleSelect} @@ -77,8 +77,8 @@ const DateTimePicker = forwardRef< - - {label?.time} + + {label?.time} diff --git a/src/components/ui/time-picker.tsx b/src/components/ui/time-picker.tsx index 63978ef..017caeb 100644 --- a/src/components/ui/time-picker.tsx +++ b/src/components/ui/time-picker.tsx @@ -118,7 +118,7 @@ const TimePickerInput = React.forwardRef onChange?.(e); }} type={type} - inputMode='decimal' + inputMode="decimal" onKeyDown={(e) => { onKeyDown?.(e); handleKeyDown(e); @@ -171,14 +171,14 @@ const TimePeriodSelect = React.forwardRef - AM - PM + AM + PM @@ -201,21 +201,21 @@ function TimePicker({ date, setDate }: TimePickerProps) { const periodRef = React.useRef(null); return ( - - + + minuteRef.current?.focus()} /> - : + :