Skip to content

Commit 4c95e90

Browse files
authored
removal of secret button, some fixes (#87)
1 parent 8e9588f commit 4c95e90

4 files changed

Lines changed: 3 additions & 9 deletions

File tree

my-app/src/model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export const model = {
162162
this.filterOptions.eligibility = eligibility;
163163
},
164164

165-
//setters for the filter options
165+
166166
setApplyTranscriptFilter(transcriptFilterState) {
167167
this.filterOptions.applyTranscriptFilter = transcriptFilterState;
168168
},

my-app/src/presenters/ReviewPresenter.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const ReviewPresenter = observer(({ model, course }) => {
1111
professorName: "",
1212
professorRating: 0,
1313
grade: "",
14-
recommend: false,
14+
recommend: null,
1515
avgRating: 0,
1616
});
1717

my-app/src/views/ListView.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function ListView(props) {
9191
</div>
9292
}
9393
endMessage={<p className="text-center py-2">No more courses</p>}
94-
scrollThreshold={0.9} // 90% of the container height
94+
scrollThreshold={0.9}
9595
scrollableTarget="scrollableDiv"
9696
initialScrollY={0}
9797
>

my-app/src/views/SearchbarView.jsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,6 @@ function SearchbarView(props) {
107107

108108
)}
109109

110-
<button
111-
onClick={() => window.location.href = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}
112-
className="w-[120px] h-[44px] bg-[#003399] text-white rounded-full border border-[#000061] cursor-pointer hover:bg-[#001a4d] transition-all duration-200">
113-
Super secret button
114-
</button>
115-
116110
</div>
117111

118112
{user && (

0 commit comments

Comments
 (0)