Skip to content

Commit

Permalink
fix(dom): fix dom ext style diff error
Browse files Browse the repository at this point in the history
  • Loading branch information
ilikethese authored and zealotchen0 committed Jul 25, 2023
1 parent 82a0792 commit e3351e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dom/src/dom/dom_node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ void DomNode::UpdateDiff(const std::unordered_map<std::string,
const std::unordered_map<std::string,
std::shared_ptr<HippyValue>>& update_dom_ext) {
auto style_diff_value = DiffUtils::DiffProps(*this->GetStyleMap(), update_style);
auto ext_diff_value = DiffUtils::DiffProps(*this->GetStyleMap(), update_dom_ext);
auto ext_diff_value = DiffUtils::DiffProps(*this->GetExtStyle(), update_dom_ext);
auto style_update = std::get<0>(style_diff_value);
auto ext_update = std::get<0>(ext_diff_value);
std::shared_ptr<DomValueMap> diff_value = std::make_shared<DomValueMap>();
Expand Down

0 comments on commit e3351e6

Please sign in to comment.