Skip to content

Commit

Permalink
final commit
Browse files Browse the repository at this point in the history
  • Loading branch information
abhay-dev2901 committed Jul 2, 2024
1 parent 131ef8e commit 720a68f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/assets/javascripts/components/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react';
import Nav from './nav/nav.jsx';
import { render } from './Main';
import { createRoot } from 'react-dom/client';

// The navbar is its own React element, independent of the
// main React Router-based component tree.
// `nav_root` is present throughout the app, via the Rails view layouts.
Expand All @@ -17,4 +18,3 @@ const reactRoot = document.getElementById('react_root');
if (reactRoot) {
render(reactRoot);
}

Original file line number Diff line number Diff line change
Expand Up @@ -520,4 +520,4 @@ const mapDispatchToProps = ({
// exporting two difference ways as a testing hack.
export default connect(mapStateToProps, mapDispatchToProps)(CourseCreator);

export { CourseCreator };
export { CourseCreator };
2 changes: 1 addition & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -615,4 +615,4 @@
add_foreign_key "admin_course_notes", "courses", column: "courses_id"
add_foreign_key "course_stats", "courses"
add_foreign_key "course_wiki_namespaces", "courses_wikis", column: "courses_wikis_id", on_delete: :cascade
end
end

0 comments on commit 720a68f

Please sign in to comment.