remove useless generic

This commit is contained in:
krawieck 2020-09-23 23:23:38 +02:00
parent 6cfdc14c4c
commit 7a3ce4f0df
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class AddInstancePage extends HookWidget {
final isSite = useState<bool>(null);
final loading = useState(false);
final icon = useState<String>(null);
final prevInput = usePrevious<String>(instanceController.text);
final prevInput = usePrevious(instanceController.text);
final debounce = useDebounce(() async {
if (prevInput == instanceController.text) return;
if (instanceController.text.isEmpty) {