Skip to content

Commit

Permalink
refactor: use Object.assign over polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
MrChocolatine committed Nov 4, 2023
1 parent ab8163d commit 642d63a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions addon/components/feature-controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Component from '@glimmer/component'
import { get, set, action } from '@ember/object'
import { service } from '@ember/service'
import { camelize } from '@ember/string'
import { assign } from '@ember/polyfills'
import windowUtil from 'ember-feature-controls/utils/window'
import { getOwner } from '@ember/application'

Expand Down Expand Up @@ -74,7 +73,7 @@ export default class FeatureControlsComponent extends Component {
default: defaults[key] || false,
}

return assign({}, meta, featureFlag)
return Object.assign({}, meta, featureFlag)
})

set(
Expand Down

0 comments on commit 642d63a

Please sign in to comment.