leftovers
This commit is contained in:
@@ -135,10 +135,12 @@ export function Classification({
|
||||
};
|
||||
result.changes.sort(
|
||||
(a, b) =>
|
||||
(confidenceRank[a.after.classification.confidence || "low"] ??
|
||||
0) -
|
||||
(confidenceRank[b.after.classification.confidence || "low"] ??
|
||||
0),
|
||||
(confidenceRank[
|
||||
a.after.classification.confidence || "low"
|
||||
] ?? 0) -
|
||||
(confidenceRank[
|
||||
b.after.classification.confidence || "low"
|
||||
] ?? 0),
|
||||
);
|
||||
setPreview(result);
|
||||
setSelected(
|
||||
|
||||
Reference in New Issue
Block a user