client/src/store/slices/gallery.ts
Function extraReducers
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
extraReducers: (builder) => {
// Referring to these action types by string instead of the generated
// variables is because importing the action module during store/slice
// creation will import other dependent modules too early. We can also
// solve this by declaring action types in a separate file (similar to
- Create a ticketCreate a ticket