Cleaned up code and removed debug remnants

This commit is contained in:
Syed Ali Shahbaz committed 2021-08-15 17:05:30 +05:30
1 parent 81c16fea23
commit f07d727a3f
3 files changed
+6 -6

No files matched your search

-1
View File
@@ -50,7 +50,6 @@ export default function ImageUploader({target, id, buttonMsg, handleAvatarChange
const handleZoomSliderChange = ([value]) => {
value < 1 ? setZoom(1) : setZoom(value);
// setZoom(e[0]);
}
const createImage = (url) =>
-3
View File
@@ -1,12 +1,9 @@
import React from 'react';
// import { styled } from '@stitches/react';
// import { violet, blackA } from '@radix-ui/colors';
import * as SliderPrimitive from '@radix-ui/react-slider';
const Slider = ({value, min, max, step, label, changeHandler}) => (
<SliderPrimitive.Root
className="slider mt-2"
// defaultValue={[value]}
min={min}
step={step}
max={max}