Fix all the fucking connection coloring
This commit is contained in:
@@ -24,8 +24,7 @@ interface ProcessedConnection {
|
||||
key: string;
|
||||
from: Position;
|
||||
to: Position;
|
||||
fromColor: string;
|
||||
toColor: string;
|
||||
color: string;
|
||||
}
|
||||
|
||||
const fetchRegionData = async (regionName: string): Promise<SolarSystem[]> => {
|
||||
@@ -80,8 +79,7 @@ export const RegionMap: React.FC<{ regionName: string }> = ({ regionName }) => {
|
||||
key: connectionKey,
|
||||
from: fromPos,
|
||||
to: toPos,
|
||||
fromColor: connectionColor,
|
||||
toColor: connectionColor
|
||||
color: connectionColor
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -244,8 +242,7 @@ export const RegionMap: React.FC<{ regionName: string }> = ({ regionName }) => {
|
||||
key={connection.key}
|
||||
from={connection.from}
|
||||
to={connection.to}
|
||||
fromColor={connection.fromColor}
|
||||
toColor={connection.toColor}
|
||||
color={connection.color}
|
||||
/>
|
||||
))}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user