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

Commit

Permalink
fix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni committed May 3, 2022
1 parent 8aefdd6 commit 685a0cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions library/src/visualiser/ApplicationView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ interface ApplicationViewProps {

export const ApplicationView: React.FunctionComponent<ApplicationViewProps> = ({
children,
layout = elements => {
return <ColumnLayout elementsToRender={elements} />;
layout = elementsToLayout => {
return <ColumnLayout elementsToRender={elementsToLayout} />;
},
}) => {
const [loaded, setLoaded] = useState(false);
Expand Down
4 changes: 2 additions & 2 deletions library/src/visualiser/SystemView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ interface SystemViewProps {

export const SystemView: React.FunctionComponent<SystemViewProps> = ({
children,
layout = elements => {
return <ColumnLayout elementsToRender={elements} />;
layout = elementsToLayout => {
return <ColumnLayout elementsToRender={elementsToLayout} />;
},
}) => {
const [loaded, setLoaded] = useState(false);
Expand Down

0 comments on commit 685a0cb

Please sign in to comment.