mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-02 16:04:07 +03:00
Remove useless check for null object with spread operator
This commit is contained in:
@@ -483,15 +483,10 @@ class Tooltip {
|
||||
onUpdate: data => this._handlePopperPlacementChange(data)
|
||||
}
|
||||
|
||||
let resultConfig = defaultBsConfig
|
||||
if (this.config.popperConfig) {
|
||||
resultConfig = {
|
||||
...defaultBsConfig,
|
||||
...this.config.popperConfig
|
||||
}
|
||||
return {
|
||||
...defaultBsConfig,
|
||||
...this.config.popperConfig
|
||||
}
|
||||
|
||||
return resultConfig
|
||||
}
|
||||
|
||||
_addAttachmentClass(attachment) {
|
||||
|
||||
Reference in New Issue
Block a user