Skip to content

Commit

Permalink
fix: ts errors from rebase with next branch
Browse files Browse the repository at this point in the history
  • Loading branch information
efrenaragon96 committed May 28, 2023
1 parent 48fc98d commit 3397012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/addons/measure/src/box-model/visualizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ function drawContent(
}

function drawBoxModel(element: HTMLElement) {
return (context: CanvasRenderingContext2D) => {
return (context?: CanvasRenderingContext2D) => {
if (element && context) {
const measurements = measureElement(element);

Expand Down

0 comments on commit 3397012

Please sign in to comment.