Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Commit

Permalink
Fix compile issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xnkevinnguyen committed Mar 20, 2020
1 parent b6af8b6 commit 67412a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/view/components/toolbar/SensorModalUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ export const getModalContent = (
);
if (modalContentConstructor) {
if (label === MICROBIT_TOOLBAR_ID.ACCELEROMETER) {
return modalContentConstructor(
return ACCELEROMETER_MODAL_CONTENT(
onUpdateValue,
sensorValues,
onSelectGestures,
Expand Down
1 change: 0 additions & 1 deletion src/view/components/toolbar/motion/Accelerometer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { SENSOR_LIST, GESTURES } from "../../../constants";
import { ISensorProps, ISliderProps } from "../../../viewUtils";
import { ThreeDimensionSlider } from "./threeDimensionSlider/ThreeDimensionSlider";
import { Dropdown } from "../../Dropdown";
import Button from "../../Button";
import SensorButton from "../SensorButton";

const MOTION_SLIDER_PROPS_X: ISliderProps = {
Expand Down

0 comments on commit 67412a3

Please sign in to comment.