diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 03bcf9ce..320c0cd3 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -14,11 +14,11 @@ - + - - + + @@ -44,11 +44,11 @@ - + - + @@ -195,8 +195,8 @@ @@ -433,12 +433,12 @@ - + - @@ -759,26 +759,26 @@ - + - - + + - + - - + + - + - - + + diff --git a/src/bodies/professorLanding.js b/src/bodies/professorLanding.js index b3134b2b..fef9c58f 100644 --- a/src/bodies/professorLanding.js +++ b/src/bodies/professorLanding.js @@ -53,7 +53,7 @@ class ProfLanding extends Component { componentWillUnmount() { window.removeEventListener('resize', this.resize); - firebase.database().ref('/classes').orderByChild('professor/UID').equalTo(firebase.auth().currentUser.uid).off(); + firebase.database().ref('/classes').off(); }