Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
jantimon committed Aug 7, 2024
1 parent 1488cdc commit a8ee383
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/yak-swc/yak_swc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ where
self.comments.add_leading(result_span.lo, pure_annotation());
self.expression_replacement = Some(transform_result.expression);
}

/// Report nested atom calls as an error
/// e.g. const Button = styled.button`&:hover { ${atoms("flex")} }`
fn visit_mut_call_expr(&mut self, n: &mut CallExpr) {
Expand Down
2 changes: 1 addition & 1 deletion packages/yak-swc/yak_swc/src/yak_imports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ impl YakImportVisitor {
if !self.is_using_next_yak() {
return None;
}
return self.yak_library_imports.get(&id).map(|id| id.0.clone());
return self.yak_library_imports.get(id).map(|id| id.0.clone());
}

/// Returns the utility function identifier
Expand Down

0 comments on commit a8ee383

Please sign in to comment.