Remove console logs
This commit is contained in:
@ -133,7 +133,6 @@ const ProjectsContextDesktop = ({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
navigateToProjectIfNeeded: ({ event }) => {
|
navigateToProjectIfNeeded: ({ event }) => {
|
||||||
console.log('navigateToProjectIfNeeded', event)
|
|
||||||
if (
|
if (
|
||||||
event.type.startsWith('xstate.done.actor.') &&
|
event.type.startsWith('xstate.done.actor.') &&
|
||||||
'output' in event
|
'output' in event
|
||||||
@ -154,7 +153,6 @@ const ProjectsContextDesktop = ({
|
|||||||
decodeURIComponent(location.pathname).includes(
|
decodeURIComponent(location.pathname).includes(
|
||||||
event.output.oldName
|
event.output.oldName
|
||||||
)
|
)
|
||||||
console.log('isInRenamedProject', isInRenamedProject)
|
|
||||||
if (isInRenamedProject) {
|
if (isInRenamedProject) {
|
||||||
const newPathName = location.pathname.replace(
|
const newPathName = location.pathname.replace(
|
||||||
encodeURIComponent(event.output.oldName),
|
encodeURIComponent(event.output.oldName),
|
||||||
|
Reference in New Issue
Block a user