remove the wip props

This commit is contained in:
Oleg Isonen committed 2022-09-09 15:00:31 +02:00
1 parent a49c140733
commit d91dcc9ef6
1 file changed
+2 -2
+2 -2
View File
@@ -27,14 +27,14 @@ type Error = {
errors: "string";
};
export const DesignerRoute = (props: { view?: "assets" }) => {
export const DesignerRoute = () => {
const data = useLoaderData<Data | Error>();
useAction();
if ("errors" in data) {
return <ErrorMessage message={data.errors} />;
}
return <Designer {...data} {...props} />;
return <Designer {...data} />;
};
export default DesignerRoute;