robobyte-front-builder 1.0.10 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -51,7 +51,6 @@ export default function ViewPage() {
|
|
|
51
51
|
}
|
|
52
52
|
}, [id])
|
|
53
53
|
|
|
54
|
-
// Loading state
|
|
55
54
|
if (!id) return null
|
|
56
55
|
|
|
57
56
|
if (loading) {
|
|
@@ -62,7 +61,6 @@ export default function ViewPage() {
|
|
|
62
61
|
)
|
|
63
62
|
}
|
|
64
63
|
|
|
65
|
-
// Error state
|
|
66
64
|
if (error) {
|
|
67
65
|
const viewId = Number(id)
|
|
68
66
|
const view = viewRegistry[viewId]
|
|
@@ -77,7 +75,6 @@ export default function ViewPage() {
|
|
|
77
75
|
)
|
|
78
76
|
}
|
|
79
77
|
|
|
80
|
-
// Success state - render the view
|
|
81
78
|
return (
|
|
82
79
|
<Grid container>
|
|
83
80
|
<Grid item size={12}>
|