Replaced inheritance by composition on short URL creation interface

This commit is contained in:
Alejandro Celaya
2022-11-07 18:27:41 +01:00
parent 4ca31fc162
commit 61b274bab9
3 changed files with 7 additions and 5 deletions

View File

@@ -59,7 +59,7 @@ export const CreateShortUrl = (
}}
/>
<CreateShortUrlResult
{...shortUrlCreation}
creation={shortUrlCreation}
resetCreateShortUrl={resetCreateShortUrl}
canBeClosed={basicMode}
/>