Changing pages to class component

parent 25d5c6e7
import React from 'react';
import React, { Component } from 'react';
import styles from './PDP.module.scss';
function PDPPage() {
class PDPPage extends Component {
render() {
return (
<section className={styles.PDPPage}>
PDP Page!
</section>
);
}
}
export default PDPPage;
\ No newline at end of file
import React from 'react';
import React, { Component } from 'react';
import styles from './PLP.module.scss';
function PLPPage() {
class PLPPage extends Component {
render() {
return (
<section className={styles.PLPPage}>
PLP Page!
</section>
);
}
}
export default PLPPage;
......
......@@ -3,5 +3,4 @@ $primary : #866347;
$primary-black : #333333;
$gray : #F5F6F8;
$large-footer-height: 60px;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment