Skip to content

Commit

Permalink
combine
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 committed Nov 25, 2023
1 parent 4217431 commit 10bbcbb
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions website/src/components/lifeCycle/index.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
import React from 'react'
import styles from './styles.module.css';

function Null({ status }) {
if (status) {
return null;
}
// function Item ({ status }) {
// if (status) {
// return null;
// }

return <span className={styles.lifecycle}>{status}</span>;
}
// return <span className={styles.lifecycle}>{status}</span>;
// }

export default function Lifecycle(props) {
if (!props.status) {
return null;
}
return (
<span className={styles.lifecycle}>{props.status}</span>
);
Expand Down

0 comments on commit 10bbcbb

Please sign in to comment.