Skip to content
Snippets Groups Projects
Commit 293ae805 authored by lfr20's avatar lfr20
Browse files

Removed consoles

parent 11e18f89
No related branches found
No related tags found
6 merge requests!57Merge of develop into master,!56Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...,!39Update admin system,!32Homologa,!31Fix console error,!28Training materials
......@@ -85,7 +85,6 @@ export default function Search(props) {
setIsFiltering(true);
const axiosConfig = getAxiosConfig();
console.log(axiosConfig);
axios({
method: 'get',
url: `${apiUrl}/search?page=${page}&results_per_page=${resultsPerPage}&order=${order}&query=${state.search.query}${currFilter ? currFilter : ""}&search_class=${tipoBusca}`,
......@@ -119,7 +118,6 @@ useEffect(() => {
const urlParams = new URLSearchParams(window.location.search);
const query = urlParams.get("query");
const searchClass = urlParams.get("search_class");
console.log(searchClass);
if (state.search.query !== query || state.search.class !== searchClass) {
dispatch({
type: "SAVE_SEARCH",
......@@ -257,7 +255,6 @@ return (
liked={card.liked}
collections={card.collection_items}
authorID={card.owner.id}
onRefresh={() => collectStuff("Collection", currFilter)}
/>
</Grid>
))}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment