Skip to content

Commit eda30fc

Browse files
poojasa7182gauransh7
authored andcommitted
Correct complaint's spelling in all files and folders
1 parent a5936cf commit eda30fc

21 files changed

+315
-315
lines changed

src/actions/complains.js src/actions/complaints.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import axios from 'axios'
22

3-
export const getComplains = (url, successCallBack, errCallBack) => {
3+
export const getComplaints = (url, successCallBack, errCallBack) => {
44
return (dispatch) => {
55
axios({
66
method: 'get',
@@ -10,7 +10,7 @@ export const getComplains = (url, successCallBack, errCallBack) => {
1010
successCallBack(response)
1111
let item = response.data
1212
dispatch({
13-
type: 'GET_ALL_COMPLAINS',
13+
type: 'GET_ALL_COMPLAINTS',
1414
payload: item
1515
})
1616
})
@@ -19,7 +19,7 @@ export const getComplains = (url, successCallBack, errCallBack) => {
1919
})
2020
}
2121
}
22-
export const getPendingComplains = (url, successCallBack, errCallBack) => {
22+
export const getPendingComplaints = (url, successCallBack, errCallBack) => {
2323
return (dispatch) => {
2424
axios({
2525
method: 'get',
@@ -29,7 +29,7 @@ export const getPendingComplains = (url, successCallBack, errCallBack) => {
2929
successCallBack(response)
3030
let item = response.data
3131
dispatch({
32-
type: 'GET_PENDING_COMPLAINS',
32+
type: 'GET_PENDING_COMPLAINTS',
3333
payload: item
3434
})
3535
})
@@ -38,7 +38,7 @@ export const getPendingComplains = (url, successCallBack, errCallBack) => {
3838
})
3939
}
4040
}
41-
export const getResolvedComplains = (url, successCallBack, errCallBack) => {
41+
export const getResolvedComplaints = (url, successCallBack, errCallBack) => {
4242
return (dispatch) => {
4343
axios({
4444
method: 'get',
@@ -48,7 +48,7 @@ export const getResolvedComplains = (url, successCallBack, errCallBack) => {
4848
successCallBack(response)
4949
let item = response.data
5050
dispatch({
51-
type: 'GET_RESOLVED_COMPLAINS',
51+
type: 'GET_RESOLVED_COMPLAINTS',
5252
payload: item
5353
})
5454
})

src/actions/resolveComplain.js src/actions/resolveComplaint.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import axios from 'axios'
22

33
import { getCookie } from 'formula_one/src/utils'
44

5-
export const resolveComplain = (
5+
export const resolveComplaint = (
66
id,
77
data,
88
residence,

src/components/admin-complaints/index.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
.modalActions{
1414
display: flex;
1515
}
16-
.complain-menu {
16+
.complaint-menu {
1717
border-bottom: 1px solid transparent;
1818
}
19-
.complain-header {
19+
.complaint-header {
2020
display: flex;
2121
justify-content: space-between;
2222
align-items: baseline;
2323
}
2424

25-
.complain-header > div {
25+
.complaint-header > div {
2626
margin-right: 0.5rem;
2727
}
2828

0 commit comments

Comments
 (0)