Skip to content

Commit 618876a

Browse files
committed
remove unneded <Form>
1 parent 7c5478f commit 618876a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

query

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
MSSQLSERVER

src/components/filter/FilterForm.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { observer } from 'mobx-react';
3-
import Form from 'react-bootstrap/Form';
3+
// import Form from 'react-bootstrap/Form';
44
import { Accordion } from 'react-bootstrap';
55
import { useStore } from '../../stores/storeConfig';
66
import CardFilterWhen from './CardFilterWhen';
@@ -22,7 +22,7 @@ const FilterForm: React.FC<IProps> = observer(() => {
2222
// console.log(injurySeverity)
2323
return (
2424
<React.Fragment>
25-
<Form>
25+
2626
<Accordion defaultActiveKey={formCardKey.toString()}>
2727
<CardFilterWhen />
2828
<CardFilterWhatVehicle />
@@ -32,7 +32,7 @@ const FilterForm: React.FC<IProps> = observer(() => {
3232
<CardFilterWhatRoad />
3333
<CardFilterSeverty />
3434
</Accordion>
35-
</Form>
35+
3636
</React.Fragment>
3737
);
3838
});

src/components/filter/GroupCheckBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ const GroupCheckbox: React.FC<IProps> = observer(({ formName, colFilter, onChang
6262
</div>
6363
);
6464
});
65-
export default GroupCheckbox;
65+
export default React.memo(GroupCheckbox);

0 commit comments

Comments
 (0)