settings: fix use of deprecated Drawer.SIZE_*

This commit is contained in:
David Lechner
2022-03-12 15:19:50 -06:00
parent de7e046d31
commit 8d4b42875a
+2 -1
View File
@@ -8,6 +8,7 @@ import {
Classes,
ControlGroup,
Drawer,
DrawerSize,
FormGroup,
Icon,
InputGroup,
@@ -90,7 +91,7 @@ const SettingsDrawer: React.FunctionComponent<SettingsProps> = (props) => {
<Drawer
isOpen={props.isOpen}
icon="cog"
size={Drawer.SIZE_SMALL}
size={DrawerSize.SMALL}
title={i18n.translate(SettingsStringId.Title)}
onClose={props.onClose}
>