File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
frontend/src/main-page/grants Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,10 @@ import {
55 statusToString ,
66} from "../../../../../middle-layer/types/Status.ts" ;
77import {
8- fetchAllGrants ,
98 updateFilter ,
109} from "../../../external/bcanSatchel/actions.ts" ;
1110import { observer } from "mobx-react-lite" ;
12- import { ProcessGrantData } from "./processGrantData.ts" ;
11+ // import { ProcessGrantData } from "./processGrantData.ts";
1312import CalendarDropdown from "./CalendarDropdown.tsx" ;
1413import { FaChevronRight } from "react-icons/fa" ;
1514
@@ -33,7 +32,7 @@ const linkList: FilterBarProps[] = [
3332 */
3433const FilterBar : React . FC = observer ( ( ) => {
3534 const [ selected , setSelected ] = useState ( "All Grants" ) ;
36- const { grants } = ProcessGrantData ( ) ;
35+ // const { grants } = ProcessGrantData();
3736 function categoryClicked (
3837 e : React . MouseEvent ,
3938 category : string ,
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ const NewGrantModal: React.FC<{ onClose: () => void }> = ({ onClose }) => {
196196 estimated_completion_time : estimatedCompletionTimeInHours ,
197197 description,
198198 attachments : attachmentsArray ,
199- restricted_or_unrestricted : "unrestricted" , // Default to unrestricted for now
199+ isRestricted : false , // Default to unrestricted for now
200200 } ;
201201 console . log ( newGrant ) ;
202202 try {
You can’t perform that action at this time.
0 commit comments