Skip to content

Commit

Permalink
removed console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
developer-junaid committed Aug 8, 2023
1 parent 6305a33 commit acf1bd5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ function App() {
const [testimonials, setTestimonials] = useState([])

useEffect(() => {
console.log("USE EFFECT ---------")
sanityClient
.fetch(
`*[_type in ["testimonial", "portfolio","service"]]{
Expand Down Expand Up @@ -61,7 +60,6 @@ function App() {
let tempProjects = []
let tempServices = []

console.log("DATA ", data)
data.map((doc) => {
if (doc.country) {
// It is a testimonial
Expand All @@ -80,8 +78,6 @@ function App() {
setServices(tempServices)
})
.catch(console.error)

console.log("BLOCK END")
}, [])

useEffect(() => {
Expand Down

0 comments on commit acf1bd5

Please sign in to comment.