import { h, Component } from 'preact'; import PropTypes from 'prop-types'; import { updateOnboarding } from '../utilities'; class ClosingSlide extends Component { componentDidMount() { updateOnboarding('closing slide'); } render() { const { previousLocation, variant } = this.props; const previousLocationListElement = () => { if (variant === '6' || variant === '8') { return (
{previousLocation}
);
}
return null;
};
const nextStepLinks = () => {
if (variant === '7' || variant === '8') {
return (
);
}
if (variant === '9') {
return (
);
}
return (
😊
Write your first DEV post✍️
Read all-time top posts🤓
Customize your profile💅