fix: style matching bank transactions

This commit is contained in:
Ahmed Bouhuolia
2024-07-03 19:41:43 +02:00
parent a5eb42edaf
commit b8a0a5509d
14 changed files with 104 additions and 104 deletions

View File

@@ -1,4 +1,4 @@
import React, { useState } from 'react';
import { useState } from 'react';
interface UseUncontrolledInput<T> {
/** Value for controlled state */
@@ -19,7 +19,7 @@ export function useUncontrolled<T>({
initialValue,
finalValue,
onChange = () => {},
}: UseUncontrolledInput<T>) {
}: UseUncontrolledInput<T>): [T, (value: T) => void, boolean] {
const [uncontrolledValue, setUncontrolledValue] = useState(
initialValue !== undefined ? initialValue : finalValue,
);