mirror of
https://github.com/calli-eve/eve-pi.git
synced 2026-02-11 18:28:49 +01:00
refactor main view to table and add production, import and export information per planet
This commit is contained in:
@@ -3,13 +3,7 @@ import { Box, Stack, Typography, useTheme } from "@mui/material";
|
||||
import { CharacterRow } from "../Characters/CharacterRow";
|
||||
import { PlanetaryInteractionRow } from "../PlanetaryInteraction/PlanetaryInteractionRow";
|
||||
|
||||
export const AccountCard = ({
|
||||
characters,
|
||||
sessionReady,
|
||||
}: {
|
||||
characters: AccessToken[];
|
||||
sessionReady: boolean;
|
||||
}) => {
|
||||
export const AccountCard = ({ characters }: { characters: AccessToken[] }) => {
|
||||
const theme = useTheme();
|
||||
return (
|
||||
<Box
|
||||
@@ -30,7 +24,7 @@ export const AccountCard = ({
|
||||
alignItems="flex-start"
|
||||
>
|
||||
<CharacterRow character={c} />
|
||||
{sessionReady && <PlanetaryInteractionRow character={c} />}
|
||||
<PlanetaryInteractionRow character={c} />
|
||||
</Stack>
|
||||
))}
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user