🎥 Make videos programmatically with React
remove default values
Jonny Burger3a92f021b9fa
diff --git a/packages/shapes/src/utils/make-rect.ts b/packages/shapes/src/utils/make-rect.tsindex ef31bd6ad6..b515af524d 100644--- a/packages/shapes/src/utils/make-rect.ts+++ b/packages/shapes/src/utils/make-rect.ts@@ -6,12 +6,9 @@ export type MakeRectOptions = {};export const makeRect = ({width, height}: MakeRectOptions): ShapeInfo => {- const x = 0;- const y = 0;-return {width,height,- path: `M ${x} ${y} l ${width} 0 l 0 ${height} l ${-width} 0 Z`,+ path: `M 0 0 l ${width} 0 l 0 ${height} l ${-width} 0 Z`,};};