mirror of
https://github.com/ershisan99/DevToysWeb.git
synced 2026-01-26 20:52:07 +00:00
chore: upgrade to react 19 beta and next 14 canary
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import { useCallback, useState } from "react";
|
||||
import { useState } from "react";
|
||||
import createHash from "create-hash";
|
||||
|
||||
import { toolGroups } from "@/config/tools";
|
||||
@@ -29,7 +29,7 @@ export default function Page() {
|
||||
const sha256 = uppercase ? newSha256.toUpperCase() : newSha256;
|
||||
const sha512 = uppercase ? newSha512.toUpperCase() : newSha512;
|
||||
|
||||
const clearInput = useCallback(() => setInput(""), []);
|
||||
const clearInput = () => setInput("");
|
||||
|
||||
const onInputChange: TextareaProps["onChange"] = e => setInput(e.currentTarget.value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user