Migrated hooks/requiredParametes to TypeScript
Summary: Migrated requiredParameters.js to requiredParameters.tsx Reviewed By: danielbuechele Differential Revision: D17133609 fbshipit-source-id: 8926921481bf587b51a09c18eca71ca6132ad89a
This commit is contained in:
committed by
Facebook Github Bot
parent
5877c1df96
commit
a0696692e2
@@ -14,7 +14,7 @@ import {
|
||||
validateParameter,
|
||||
liveEdit,
|
||||
} from '../util/uri.tsx';
|
||||
import {useRequiredParameterFormValidator} from '../hooks/requiredParameters';
|
||||
import {useRequiredParameterFormValidator} from '../hooks/requiredParameters.tsx';
|
||||
|
||||
import type {URI} from '../flow-types';
|
||||
|
||||
|
||||
@@ -3,11 +3,10 @@
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
* @format
|
||||
* @flow strict-local
|
||||
*/
|
||||
|
||||
import {useEffect, useState} from 'react';
|
||||
import {validateParameter} from '../util/uri.tsx';
|
||||
import {validateParameter} from '../util/uri';
|
||||
|
||||
export const useRequiredParameterFormValidator = (
|
||||
requiredParameters: Array<string>,
|
||||
Reference in New Issue
Block a user