Added forward query component to short URL form

This commit is contained in:
Alejandro Celaya
2021-10-13 22:50:48 +02:00
parent eaa6efe803
commit 9e6907deb4
5 changed files with 60 additions and 34 deletions

View File

@@ -30,6 +30,7 @@ const getInitialState = (settings?: ShortUrlCreationSettings): ShortUrlData => (
maxVisits: undefined,
findIfExists: false,
validateUrl: settings?.validateUrls ?? false,
forwardQuery: true,
});
const CreateShortUrl = (ShortUrlForm: FC<ShortUrlFormProps>, CreateShortUrlResult: FC<CreateShortUrlResultProps>) => ({