Skip to content

Commit

Permalink
no need to deconstruct options here
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelly Selden committed May 17, 2017
1 parent 0fada07 commit 9066b54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addon/get-value-unsafe.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import getValue from './get-value';

export default function({ context, key } = {}) {
let value = getValue({ context, key });
export default function(options = {}) {
let value = getValue(options);
if (value !== undefined) {
return value;
}

return key;
return options.key;
}

0 comments on commit 9066b54

Please sign in to comment.