udpate type
This commit is contained in:
parent
6cef335264
commit
9f0cadacaa
|
@ -18,12 +18,12 @@ import constants from 'utils/strings/constants';
|
||||||
import { CheckmarkIcon } from './checkmarkIcon';
|
import { CheckmarkIcon } from './checkmarkIcon';
|
||||||
import { MappingEntry } from './mappingEntry';
|
import { MappingEntry } from './mappingEntry';
|
||||||
|
|
||||||
interface NewType {
|
interface Iprops {
|
||||||
open: boolean;
|
open: boolean;
|
||||||
onClose: () => void;
|
onClose: () => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function WatchFolderModal({ open, onClose }: NewType) {
|
export default function WatchFolderModal({ open, onClose }: Iprops) {
|
||||||
const [mappings, setMappings] = useState<WatchMapping[]>([]);
|
const [mappings, setMappings] = useState<WatchMapping[]>([]);
|
||||||
const appContext = useContext(AppContext);
|
const appContext = useContext(AppContext);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue