Skip to content

Commit

Permalink
comment to add task todo and lint warning removal
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramir Mesquita committed Sep 10, 2024
1 parent 872faed commit a1cf14e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export const Unity = () => {
trigger(urlName);
setFileContent(url);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [url]);

const OpenModalButton = () =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ interface UnityFilePreviewProps {
fileContent: string;
}

/* TODO - Refactor UnityFilePreview component to add the possibility of editing the Unity file
* into the Builder. Tasks https://mindlogger.atlassian.net/browse/M2-7778 and https://mindlogger.atlassian.net/browse/M2-7779 */
export const UnityFilePreview: React.FC<UnityFilePreviewProps> = ({ fileContent }) => (
<textarea value={fileContent} readOnly style={{ width: '100%', height: '300px' }} />
);

0 comments on commit a1cf14e

Please sign in to comment.