Remove unnecessary variable assignment
This commit is contained in:
parent
a836d1a89b
commit
3a1890c22c
|
@ -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;
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue