Skip to content

Commit 85029c5

Browse files
committed
disabling student file upload would break everything
1 parent 5e5852d commit 85029c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/frontend/project/explorer/misc-side-buttons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export const MiscSideButtons: React.FC<Props> = (props) => {
190190

191191
function render_upload_button(): React.JSX.Element | undefined {
192192
if (student_project_functionality.disableUploads) {
193-
return;
193+
return <span />;
194194
}
195195
return (
196196
<Button

0 commit comments

Comments
 (0)