From 0f2c550d5b3a2085bae50760766e4ac58370e097 Mon Sep 17 00:00:00 2001 From: Kiran Date: Wed, 11 Mar 2020 20:34:44 +0900 Subject: [PATCH] formatting fixed using prettier --- packages/material-ui-lab/src/useAutocomplete/useAutocomplete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-ui-lab/src/useAutocomplete/useAutocomplete.js b/packages/material-ui-lab/src/useAutocomplete/useAutocomplete.js index 960c1878160ace..f5ece946397df5 100644 --- a/packages/material-ui-lab/src/useAutocomplete/useAutocomplete.js +++ b/packages/material-ui-lab/src/useAutocomplete/useAutocomplete.js @@ -649,7 +649,7 @@ export default function useAutocomplete(props) { // Avoid the Modal to handle the event. event.stopPropagation(); handleClose(event); - } else if (clearOnEscape && (inputValue !== '' || (multiple && value.length > 0))) { + } else if (clearOnEscape && (inputValue !== '' || (multiple && value.length > 0))) { // Avoid Opera to exit fullscreen mode. event.preventDefault(); // Avoid the Modal to handle the event.