All files / publisher/pages/RegisterNameDispute RegisterNameDisputeSuccess.tsx

100% Statements 1/1
100% Branches 0/0
100% Functions 1/1
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28              1x                                        
import { Link } from "react-router-dom";
 
type Props = {
  snapName: string | null;
};
 
function RegisterNameDisputeSuccess({ snapName }: Props): React.JSX.Element {
  return (
    <>
      <h1 className="p-heading--2">
        Thank you for requesting the name <strong>{snapName}</strong>
      </h1>
      <p>We will proccess the details provided with the name dispute</p>
      <p>
        Each case is reviewed individually and we can't provide an estimate on
        how long it will take for us to process this information. We will
        contact you once we confirm the information provided
      </p>
      <hr />
      <Link className="p-button--positive" to="/snaps">
        Return to my snaps
      </Link>
    </>
  );
}
 
export default RegisterNameDisputeSuccess;