From d3561c5d71e4400f6782c186126b3c4d2ff3fa0b Mon Sep 17 00:00:00 2001 From: Thomas Fini Hansen Date: Mon, 19 Apr 2021 10:05:43 +0200 Subject: [PATCH] Always wrap element in container element --- src/apps/order-material/order-material.jsx | 40 ++++++++++++++++------ 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/src/apps/order-material/order-material.jsx b/src/apps/order-material/order-material.jsx index c79cff7c..42a6265b 100644 --- a/src/apps/order-material/order-material.jsx +++ b/src/apps/order-material/order-material.jsx @@ -33,27 +33,43 @@ function OrderMaterial({ return null; case "checking": - return ; + return ( +
+ +
+ ); case "unavailable": - return ; + return ( +
+ +
+ ); case "invalid branch": return ( - +
+ +
); case "processing": - return ; + return ( +
+ +
+ ); case "finished": return ( <> - +
+ +
; + return ( +
+ +
+ ); default: return (