Remove unnecessary variable assignment

This commit is contained in:
Albert Juhé Lluveras 2018-12-18 15:06:06 +01:00
parent a836d1a89b
commit 3a1890c22c
1 changed files with 1 additions and 2 deletions

View File

@ -50,10 +50,9 @@ export default {
// This is slightly different than gutenberg/Autocomplete, we don't support different methods
// of replace/insertion, so we can just return the value.
getOptionCompletion( customer ) {
const value = {
return {
id: customer.id,
label: customer.username,
};
return value;
},
};