mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-11 01:53:51 +00:00
Renamed NewServerData to ServerData, as it's used in other contexts too
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import React, { useRef, RefObject, ChangeEvent, MutableRefObject } from 'react';
|
||||
import { UncontrolledTooltip } from 'reactstrap';
|
||||
import ServersImporter from '../services/ServersImporter';
|
||||
import { NewServerData } from '../data';
|
||||
import { ServerData } from '../data';
|
||||
|
||||
type Ref<T> = RefObject<T> | MutableRefObject<T>;
|
||||
|
||||
@@ -11,7 +11,7 @@ export interface ImportServersBtnProps {
|
||||
}
|
||||
|
||||
interface ImportServersBtnConnectProps extends ImportServersBtnProps {
|
||||
createServers: (servers: NewServerData[]) => void;
|
||||
createServers: (servers: ServerData[]) => void;
|
||||
fileRef: Ref<HTMLInputElement>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user