Skip to content

Commit 4dd085d

Browse files
committed
fixed table bug
1 parent 0be8fd3 commit 4dd085d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Home/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export default class Home extends React.Component {
149149
currentZip={this.state.currentZip}
150150
/>
151151
<EventsTable
152-
allTownHalls={allStateTownHalls || allTownHalls} // if state town halls are present, it's because we are on a state site
152+
allTownHalls={allStateTownHalls.length ? allStateTownHalls : allTownHalls} // if state town halls are present, it's because we are on a state site
153153
/>
154154
<EventModal />
155155
</React.Fragment>

0 commit comments

Comments
 (0)