We will import prompt from react router dom. We show the Prompt component when we have unsaved changes. We can pass the message as well.
確定! 回上一頁