remove redundant test

Co-authored-by: pranavm2109 <mishrap@dickinson.edu>
This commit is contained in:
Shahir Ahmed
2025-03-19 20:58:17 -04:00
parent ea39254556
commit 573b6d9ba7

View File

@@ -22,10 +22,6 @@ function drawActorLegend(diagram) {
maxWidth = 0;
let yPos = 60;
if (isNaN(maxLabelWidth)) {
throw new Error('maxLabelWidth must be a number');
}
Object.keys(actors).forEach((person) => {
const colour = actors[person].color;
const circleData = {