diff --git a/src/components/Errors/Codes/13.js b/src/components/Errors/Codes/13.js index 539245aa2..6b9d98402 100644 --- a/src/components/Errors/Codes/13.js +++ b/src/components/Errors/Codes/13.js @@ -7,7 +7,7 @@ export default function ErrorCode13(props) {

#13: Parcel is not mountable.

Parcel {props.getErrorCodeArg(0, "unknown name")} is currently in{" "} - {props.getErrorCodeArg(1)} status. You may only call parcel.unmount() + {props.getErrorCodeArg(1)} status. You may only call parcel.mount() when the parcel is in NOT_MOUNTED status.

To fix:

@@ -18,7 +18,7 @@ export default function ErrorCode13(props) { const parcel = mountParcel(() => import('./some-parcel.js'), customProps); parcel.unmount().then(() => { - Now the parcel is guaranteed to be in NOT_MOUNTED status, and you can call parcel.mount() + // Now the parcel is guaranteed to be in NOT_MOUNTED status, and you can call parcel.mount() parcel.mount() }) `}