Update ExosuitFabricator.js

This commit is contained in:
TheGamerdk
2022-11-03 20:23:10 +01:00
parent 7517df56e5
commit ac31fa4543

View File

@@ -6,6 +6,7 @@ import { Flex, Section, Tabs, Box, Button, Fragment, ProgressBar, NumberInput, I
import { Window } from '../layouts';
import { createSearch } from 'common/string';
/*
const MATERIAL_KEYS = {
"iron": "sheet-metal_3",
"glass": "sheet-glass_3",
@@ -124,10 +125,10 @@ const searchFilter = (search, allparts) => {
return searchResults;
};
*/
export const ExosuitFabricator = (props, context) => {
const { act, data } = useBackend(context);
/*
const queue = data.queue || [];
const materialAsObj = materialArrayToObj(data.materials || []);
@@ -140,7 +141,7 @@ export const ExosuitFabricator = (props, context) => {
const [
displayMatCost,
setDisplayMatCost,
] = useSharedState(context, "display_mats", false);
] = useSharedState(context, "display_mats", false); */
return (
<Window
@@ -845,4 +846,4 @@ const BeingBuilt = (props, context) => {
</Box>
);
}
};
};