Skip to content

Commit

Permalink
Update packages/yak-swc/yak_swc/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Donny/강동윤 <[email protected]>
  • Loading branch information
jantimon and kdy1 authored Jul 21, 2024
1 parent a178f3c commit 5169270
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -129,7 +129,7 @@ where
self
.current_variable_name
.clone()
.unwrap_or("yak".to_string())
.unwrap_or_else(|| "yak".to_string())
}

/// Get the current filename without extension or path e.g. "App" from "/path/to/App.tsx
Expand Down

0 comments on commit 5169270

Please sign in to comment.