import React from 'react'; const CodeEditor = ({ file, onCommit, onDiscard }) => { if (!file) { return (
Review the diffs and commit your work to the repository.