https://date-fns.org/v2.29.3/docs/lightFormat
import { parseISO, lightFormat } from 'date-fns';
const date = New Date();
https://date-fns.org/v2.29.3/docs/lightFormat
import { parseISO, lightFormat } from 'date-fns';
const date = New Date();
Docs: https://docs.mapbox.com/mapbox-gl-js/guides/install/
Install the npm package:
npm install --save mapbox-gl
React Redux is the official React UI bindings layer for Redux. It lets your React components read data from a Redux store, and dispatch actions to the store to update state.
The Redux Toolkit package is intended to be the standard way to write Redux logic.
npm install @reduxjs/toolkit react-redux
import React from "react";
import { Routes, Route } from "react-router-dom";
import PrivateRoute from "routes/PrivateRoute";
import PublicRoute from 'routes/PublicRoute';
import { DashboardRoutes } from './DashboardRoutes';
import { PUBLIC_ROUTES, PRIVATE_ROUTES } from 'constants';