Skip to content

Commit

Permalink
fix(client): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroppy committed Jun 18, 2019
1 parent 074712e commit 803c4b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions packages/client/src/components/ContentView/Base.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,10 @@ export class Base extends React.Component {
render() {
const {
slides,
className = undefined,
// showIndex(webSlides) checks all slides so lazyload can not be used together
lazyload = !process.env.SHOW_INDEX // TODO: fix
} = this.props;
const articleClass = process.env.IS_VERTICAL ? classnames('vertical', className) : className;
const articleClass = process.env.IS_VERTICAL ? 'vertical' : undefined;

return (
<article className={articleClass} id="webslides">
Expand All @@ -59,7 +58,7 @@ export class Base extends React.Component {
key={i /* fix */}
className={classnames(
'aligncenter',
fusumaProps.className,
fusumaProps.classes,
fusumaProps.sectionTitle ? 'section-title' : undefined
)}
>
Expand Down
1 change: 0 additions & 1 deletion packages/client/src/components/ContentView/Host.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import React from 'react';
import { FaTimes, FaPlay, FaStop, FaRegHourglass } from 'react-icons/fa';
import { Controller as PresentationController } from '../presentationMode/Controller'; // common and host
import { Base } from './Base';
import '../../../assets/style/host.css';

class Timer extends React.PureComponent {
Expand Down

0 comments on commit 803c4b0

Please sign in to comment.