fix: adjust transition timeout and add UNASSIGNED color constant

This commit is contained in:
Mo Tarbin
2025-09-27 13:48:20 -04:00
parent c27404cc3a
commit b367410aaf
3 changed files with 5 additions and 5 deletions

View File

@@ -81,12 +81,11 @@ const PageTransition = ({ children }) => {
key={location.pathname}
classNames={getTransitionClasses()}
timeout={{
enter: 300,
exit: 200,
enter: 50,
exit: 50,
}}
unmountOnExit
>
<div
<div
className='page-wrapper'
style={{
paddingBottom: `var(--safe-area-inset-bottom, 0px)`,

View File

@@ -87,6 +87,7 @@ export const TASK_COLOR = {
// FOR ASSIGNEE:
ASSIGNED_TO_ME: '#4ec1a2',
ASSIGNED_TO_OTHER: '#b39ddb',
UNASSIGNED: '#ffc107',
// FOR PRIORITY:
// PRIORITY_1: '#F03A47',

View File

@@ -6,7 +6,7 @@ function DateModal({ isOpen, onClose, onSave, current, title }) {
const { ResponsiveModal } = useResponsiveModal()
const [date, setDate] = useState(
current ? new Date(current).toISOString().split('T')[0] : null,
current ? new Date(current).toISOString().split('T')[0] : '',
)
const handleSave = () => {