fix(ui): fix mantine select props

This commit is contained in:
psychedelicious 2023-06-12 22:32:37 +10:00
parent 705573f0a8
commit 9df502fc77
2 changed files with 2 additions and 4 deletions

View File

@ -215,11 +215,10 @@ const IAICanvasToolbar = () => {
<Box w={24}>
<IAIMantineSelect
tooltip={`${t('unifiedCanvas.layer')} (Q)`}
tooltipProps={{ hasArrow: true, placement: 'top' }}
value={layer}
data={LAYER_NAMES_DICT}
onChange={handleChangeLayer}
isDisabled={isStaging}
disabled={isStaging}
/>
</Box>

View File

@ -61,11 +61,10 @@ export default function UnifiedCanvasLayerSelect() {
<IAIMantineSelect
tooltip={`${t('unifiedCanvas.layer')} (Q)`}
aria-label={`${t('unifiedCanvas.layer')} (Q)`}
tooltipProps={{ hasArrow: true, placement: 'top' }}
value={layer}
data={LAYER_NAMES_DICT}
onChange={handleChangeLayer}
isDisabled={isStaging}
disabled={isStaging}
w="full"
/>
);