Cleaned up code and removed debug remnants
This commit is contained in:
1 parent
81c16fea23
commit
f07d727a3f
3 files changed
+6
-6
No files matched your search
@@ -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) =>
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user