File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,10 @@ const Reducers = createSlice({
142
142
} ,
143
143
pushHistory : ( state , action ) => {
144
144
// state.history.push(action.payload);
145
- state . history [ action . payload . link ] = action . payload ;
145
+ //trim the query from the url
146
+ const link = action . payload . link . split ( '?' ) [ 0 ] ;
147
+
148
+ state . history [ link ] = action . payload ;
146
149
} ,
147
150
UpdateSearch : ( state , action ) => {
148
151
//push data to search array on top
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ export const ComicDetailPageClasses = {
133
133
} ;
134
134
135
135
export const ComicBookPageClasses = {
136
- readallcomics : {
136
+ readcomicsonline : {
137
137
imageContainer : '.imagecnt' ,
138
138
imageSelector : 'img.img-responsive[data-src]' ,
139
139
imageAttr : 'data-src' ,
You can’t perform that action at this time.
0 commit comments