Remove unused mports.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import React, { useState } from "react";
|
import React, { useState } from "react";
|
||||||
import { Provider } from "react-redux";
|
import { Provider } from "react-redux";
|
||||||
import { store } from "../../app/store";
|
import { store } from "../../app/store";
|
||||||
import { Box, Skeleton, Text, VStack } from "@chakra-ui/react";
|
import { Box, Skeleton, VStack } from "@chakra-ui/react";
|
||||||
import {
|
import {
|
||||||
add,
|
add,
|
||||||
getYear,
|
getYear,
|
||||||
@@ -113,13 +113,7 @@ const Day = ({
|
|||||||
alignContent="center"
|
alignContent="center"
|
||||||
justifyContent="flex-start"
|
justifyContent="flex-start"
|
||||||
>
|
>
|
||||||
<Box
|
<Box w="1.8rem" h="1.8rem" textAlign="center" p={0} m={0}>
|
||||||
w="1.8rem"
|
|
||||||
h="1.8rem"
|
|
||||||
textAlign="center"
|
|
||||||
p={0}
|
|
||||||
m={0}
|
|
||||||
>
|
|
||||||
{`${getDate(currDateObj)}`}
|
{`${getDate(currDateObj)}`}
|
||||||
</Box>
|
</Box>
|
||||||
{isLoading ? (
|
{isLoading ? (
|
||||||
@@ -184,8 +178,7 @@ const Day = ({
|
|||||||
border: "1px solid #FFF"
|
border: "1px solid #FFF"
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{isToday ?
|
{isToday ? (
|
||||||
(
|
|
||||||
<Box
|
<Box
|
||||||
border="1px solid #0068ff"
|
border="1px solid #0068ff"
|
||||||
borderRadius="50%"
|
borderRadius="50%"
|
||||||
@@ -197,20 +190,11 @@ const Day = ({
|
|||||||
>
|
>
|
||||||
{`${getDate(currDateObj)}`}
|
{`${getDate(currDateObj)}`}
|
||||||
</Box>
|
</Box>
|
||||||
)
|
) : (
|
||||||
:
|
<Box w="1.8rem" h="1.8rem" textAlign="center" p={0} m={0}>
|
||||||
(
|
|
||||||
<Box
|
|
||||||
w="1.8rem"
|
|
||||||
h="1.8rem"
|
|
||||||
textAlign="center"
|
|
||||||
p={0}
|
|
||||||
m={0}
|
|
||||||
>
|
|
||||||
{`${getDate(currDateObj)}`}
|
{`${getDate(currDateObj)}`}
|
||||||
</Box>
|
</Box>
|
||||||
)
|
)}
|
||||||
}
|
|
||||||
{isLoading ? (
|
{isLoading ? (
|
||||||
<Skeleton key={currSticker}>
|
<Skeleton key={currSticker}>
|
||||||
<Box fontSize="1.5rem">
|
<Box fontSize="1.5rem">
|
||||||
|
|||||||
Reference in New Issue
Block a user