diff --git a/apps/frontend/src/app/PageArtifact/ArtifactEditor.tsx b/apps/frontend/src/app/PageArtifact/ArtifactEditor.tsx index 55e970d4d6..006cd3d22e 100644 --- a/apps/frontend/src/app/PageArtifact/ArtifactEditor.tsx +++ b/apps/frontend/src/app/PageArtifact/ArtifactEditor.tsx @@ -83,6 +83,7 @@ import SubstatInput from './ArtifactEditor/Components/SubstatInput' import UploadExplainationModal from './ArtifactEditor/Components/UploadExplainationModal' import { textsFromImage } from './ScanningUtil' import { LocationAutocomplete } from '../Components/Character/LocationAutocomplete' +import { shouldShowDevComponents } from '../Util/Util' const allSubstatFilter = new Set(allSubstatKeys) type ResetMessage = { type: 'reset' } @@ -593,12 +594,11 @@ export default function ArtifactEditor({ - {process.env.NODE_ENV === 'development' && - debugImgs && ( - - - - )} + {shouldShowDevComponents && debugImgs && ( + + + + )}