Skip to content

Commit

Permalink
Merge pull request #167 from CanDIG/bugfix/merge-conflict
Browse files Browse the repository at this point in the history
Fixup problems that appeared after a non-conflicting merge
  • Loading branch information
OrdiNeu committed Jul 18, 2024
2 parents 6a4daf2 + f4e2e5e commit 1c7bd02
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/views/clinicalGenomic/widgets/sidebar.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useState } from 'react';
import { useEffect, useState } from 'react';

import {
Checkbox,
Expand Down Expand Up @@ -413,8 +413,8 @@ function Sidebar() {
const [endPos, setEndPos] = useState('0');

// Clinical Data
const [_selectedNodes, setSelectedNodes] = useState({});
const [_selectedCohorts, setSelectedCohorts] = useState({});
const [selectedNodes, setSelectedNodes] = useState({});
const [selectedCohorts, setSelectedCohorts] = useState({});
const [selectedTreatment, setSelectedTreatment] = useState({});
const [selectedPrimarySite, setSelectedPrimarySite] = useState({});
const [selectedChemotherapy, setSelectedChemotherapy] = useState({});
Expand All @@ -424,7 +424,6 @@ function Sidebar() {
// On our first load, remove all query parameters
useEffect(() => {
writerContext(() => ({}));
console.log('Refreshing writer context');
}, [writerContext]);

function resetButton() {
Expand Down

0 comments on commit 1c7bd02

Please sign in to comment.