Skip to content

Commit

Permalink
Correct complaint's spelling in all files and folders
Browse files Browse the repository at this point in the history
  • Loading branch information
poojasa7182 authored and gauransh7 committed Jan 31, 2023
1 parent a5936cf commit eda30fc
Show file tree
Hide file tree
Showing 21 changed files with 315 additions and 315 deletions.
12 changes: 6 additions & 6 deletions src/actions/complains.js → src/actions/complaints.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import axios from 'axios'

export const getComplains = (url, successCallBack, errCallBack) => {
export const getComplaints = (url, successCallBack, errCallBack) => {
return (dispatch) => {
axios({
method: 'get',
Expand All @@ -10,7 +10,7 @@ export const getComplains = (url, successCallBack, errCallBack) => {
successCallBack(response)
let item = response.data
dispatch({
type: 'GET_ALL_COMPLAINS',
type: 'GET_ALL_COMPLAINTS',
payload: item
})
})
Expand All @@ -19,7 +19,7 @@ export const getComplains = (url, successCallBack, errCallBack) => {
})
}
}
export const getPendingComplains = (url, successCallBack, errCallBack) => {
export const getPendingComplaints = (url, successCallBack, errCallBack) => {
return (dispatch) => {
axios({
method: 'get',
Expand All @@ -29,7 +29,7 @@ export const getPendingComplains = (url, successCallBack, errCallBack) => {
successCallBack(response)
let item = response.data
dispatch({
type: 'GET_PENDING_COMPLAINS',
type: 'GET_PENDING_COMPLAINTS',
payload: item
})
})
Expand All @@ -38,7 +38,7 @@ export const getPendingComplains = (url, successCallBack, errCallBack) => {
})
}
}
export const getResolvedComplains = (url, successCallBack, errCallBack) => {
export const getResolvedComplaints = (url, successCallBack, errCallBack) => {
return (dispatch) => {
axios({
method: 'get',
Expand All @@ -48,7 +48,7 @@ export const getResolvedComplains = (url, successCallBack, errCallBack) => {
successCallBack(response)
let item = response.data
dispatch({
type: 'GET_RESOLVED_COMPLAINS',
type: 'GET_RESOLVED_COMPLAINTS',
payload: item
})
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import axios from 'axios'

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

export const resolveComplain = (
export const resolveComplaint = (
id,
data,
residence,
Expand Down
6 changes: 3 additions & 3 deletions src/components/admin-complaints/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
.modalActions{
display: flex;
}
.complain-menu {
.complaint-menu {
border-bottom: 1px solid transparent;
}
.complain-header {
.complaint-header {
display: flex;
justify-content: space-between;
align-items: baseline;
}

.complain-header > div {
.complaint-header > div {
margin-right: 0.5rem;
}

Expand Down
Loading

0 comments on commit eda30fc

Please sign in to comment.