Compare commits

..

No commits in common. "abc1b07c6a515cb34c6cf4dd43b8d9a39da6b700" and "6e5af4a010f830fde89f773a22fff8d625769af4" have entirely different histories.

View File

@ -27,7 +27,7 @@ const CoinList = (): JSX.Element => {
const { data: globalData, isLoading: globalIsLoading, isSuccess: lobalSuccess } = useGetGlobalQuery();
return (
<>
<Box className="coin-list">
{isLoading || globalIsLoading && <div>Loading...</div>}
{
globalData &&
@ -38,7 +38,6 @@ const CoinList = (): JSX.Element => {
}
{
data && isSuccess &&
<Box className="coin-list">
<TableContainer style={{ marginTop: 20 }}>
<Table size="small" aria-label="simple table">
<TableHead>
@ -117,10 +116,9 @@ const CoinList = (): JSX.Element => {
</TableBody>
</Table>
</TableContainer>
</Box>
}
<Pager page={page} per_page={per_page}/>
</>
</Box>
)
}