Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Commit 56e3669

Browse files
committed
Simplified destructuring
1 parent 58c3d6e commit 56e3669

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Intro/Intro.jsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ const styles = () => ({
4747
@translate(['intro'], { wait: true })
4848
class Intro extends Component {
4949
render() {
50-
const props = this.props;
51-
const { t } = this.props;
50+
const { t, ...props } = this.props;
5251
return (
5352
<div>
5453
<section id="intro" className={props.classes.section}>

0 commit comments

Comments
 (0)