diff --git a/packages/nextclade/src/tree/tree.rs b/packages/nextclade/src/tree/tree.rs index a5a6ba49c..5d043210c 100644 --- a/packages/nextclade/src/tree/tree.rs +++ b/packages/nextclade/src/tree/tree.rs @@ -674,7 +674,7 @@ impl AuspiceTree { self .root_sequence .as_ref() - .and_then(|map| map.get("nuc")) + .and_then(|root_sequence| root_sequence.get("nuc")) .map(String::as_str) } }