only show default settings on main models

This commit is contained in:
Mary Hipp 2024-03-06 16:47:10 -05:00 committed by psychedelicious
parent 46614ee28f
commit b1d72d411e

View File

@ -112,9 +112,11 @@ export const ModelView = () => {
)}
</Flex>
</Box>
<Box layerStyle="second" borderRadius="base" p={3}>
<DefaultSettings />
</Box>
{modelData.type === 'main' && (
<Box layerStyle="second" borderRadius="base" p={3}>
<DefaultSettings />
</Box>
)}
</Flex>
);
};