Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
liatv committed Aug 17, 2023
1 parent 66dc52e commit fc56fec
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ export function NavigationPanel(props) {
const circlesNavigationPanel = (props) => {
let items = props.galleryStructure.items;
let direction;
switch (
props.options[optionsMap.layoutParams.thumbnails.alignment] // TODO use new sp when they work well with the playground
) {
switch (props.options[optionsMap.layoutParams.thumbnails.alignment]) {
case GALLERY_CONSTS[optionsMap.layoutParams.thumbnails.alignment].TOP:
case GALLERY_CONSTS[optionsMap.layoutParams.thumbnails.alignment].BOTTOM:
direction = 'horizontal';
Expand Down Expand Up @@ -104,9 +102,7 @@ export function NavigationPanel(props) {
const stepsNavigationPanel = (props) => {
let items = props.galleryStructure.items;
let direction;
switch (
props.options[optionsMap.layoutParams.thumbnails.alignment] // TODO use new sp when they work well with the playground
) {
switch (props.options[optionsMap.layoutParams.thumbnails.alignment]) {
case GALLERY_CONSTS[optionsMap.layoutParams.thumbnails.alignment].TOP:
case GALLERY_CONSTS[optionsMap.layoutParams.thumbnails.alignment].BOTTOM:
direction = 'horizontal';
Expand Down

0 comments on commit fc56fec

Please sign in to comment.