chore(build): move to react 18 + vite
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import React, { useCallback } from "react";
|
||||
import { useRecoilState } from "recoil";
|
||||
|
||||
import { iconSizeAtom } from "../../state/atoms";
|
||||
import { iconSizeAtom } from "@/state/atoms";
|
||||
import "./SizeInput.css";
|
||||
|
||||
type SizeInputProps = {};
|
||||
@@ -14,7 +14,7 @@ const handleBlur = (event: React.UIEvent<HTMLInputElement>) => {
|
||||
event.currentTarget.blur();
|
||||
};
|
||||
|
||||
const SizeInput: React.FC<SizeInputProps> = () => {
|
||||
const SizeInput = (_: SizeInputProps) => {
|
||||
const [size, setSize] = useRecoilState(iconSizeAtom);
|
||||
|
||||
const handleSizeChange = useCallback(
|
||||
|
||||
Reference in New Issue
Block a user