Removed unused imports
This commit is contained in:
@@ -240,8 +240,8 @@ const CalenderContextProvider = ({
|
||||
}
|
||||
};
|
||||
|
||||
// * Attempting to fix an issue with static generation where the date does not appear to be updating after initial generation.
|
||||
const [currDate, setCurrDate] = useState<Date>(new Date);
|
||||
// * Attempting to fix an issue with static generation where the date does not appear to be updating after initial generation.
|
||||
const [currDate, setCurrDate] = useState<Date>(new Date());
|
||||
|
||||
const calenderContextValues: CalenderContextState = {
|
||||
currDate,
|
||||
|
||||
Reference in New Issue
Block a user