fix: re-remove Side-Panel

This commit is contained in:
Oliver Eyton-Williams
2019-09-19 18:39:42 +02:00
committed by mrugesh
parent 8b2f96609d
commit 6f5b22fd21

View File

@ -1,25 +0,0 @@
import React from 'react';
import PropTypes from 'prop-types';
import ChallengeTitle from '../components/Challenge-Title';
import Spacer from '../../../components/helpers/Spacer';
const propTypes = {
description: PropTypes.string,
introPath: PropTypes.string,
isCompleted: PropTypes.bool,
isSignedIn: PropTypes.bool,
title: PropTypes.string
};
export default function SidePanel({ title, description, isCompleted }) {
return (
<div>
<Spacer />
<ChallengeTitle isCompleted={isCompleted}>{title}</ChallengeTitle>
<div dangerouslySetInnerHTML={{ __html: description }} />
</div>
);
}
SidePanel.displayName = 'ProjectSidePanel';
SidePanel.propTypes = propTypes;