We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbf1a70 commit 3383ac9Copy full SHA for 3383ac9
adview-manager/src/manager.rs
@@ -197,16 +197,13 @@ impl Manager {
197
.iter()
198
.find(|c| c.campaign.id == sticky_entry.campaign_id)?;
199
200
- let unit = stick_campaign
201
- .units_with_price
202
- .iter()
203
- .find_map(|u| {
204
- if u.unit.ipfs == sticky_entry.unit_id {
205
- Some(u.unit.clone())
206
- } else {
207
- None
208
- }
209
- })?;
+ let unit = stick_campaign.units_with_price.iter().find_map(|u| {
+ if u.unit.ipfs == sticky_entry.unit_id {
+ Some(u.unit.clone())
+ } else {
+ None
+ }
+ })?;
210
211
let html = get_unit_html_with_events(
212
&self.options,
0 commit comments