Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 13.js #653

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/Errors/Codes/13.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function ErrorCode13(props) {
<h1>#13: Parcel is not mountable.</h1>
<p>
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.
</p>
<h2>To fix:</h2>
Expand All @@ -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()
})
`}
Expand Down
Loading