Skip to content

Commit

Permalink
Revert 9542fe3
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitcheljager committed Feb 6, 2024
1 parent 9542fe3 commit 7254058
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/javascript/src/utils/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ export async function fetchProject(uuid) {
.then(data => {
if (!data) throw Error("No results")

console.log(data)

const parsedData = JSON.parse(data)

// If the project in localStorage is newer than the project from the API
Expand Down Expand Up @@ -83,9 +81,6 @@ export async function fetchProject(uuid) {
.catch(error => {
items.set([])
currentItem.set({})

if (!get(isSignedIn)) return

console.error(error)
alert(`Something went wrong while loading, please try again. ${ error }`)
})
Expand Down

0 comments on commit 7254058

Please sign in to comment.