Update to shlink-web-component 0.16.1

This commit is contained in:
Alejandro Celaya
2025-08-08 09:15:03 +02:00
parent c850d2623c
commit 2a606c614d
6 changed files with 136 additions and 209 deletions

View File

@@ -1,4 +1,4 @@
import type { ShlinkWebComponentType, TagColorsStorage } from '@shlinkio/shlink-web-component';
import type { ShlinkWebComponentProps, TagColorsStorage } from '@shlinkio/shlink-web-component';
import type { Settings } from '@shlinkio/shlink-web-component/settings';
import type { FC } from 'react';
import { memo } from 'react';
@@ -17,7 +17,7 @@ type ShlinkWebComponentContainerProps = WithSelectedServerProps & {
type ShlinkWebComponentContainerDeps = {
buildShlinkApiClient: ShlinkApiClientBuilder,
TagColorsStorage: TagColorsStorage,
ShlinkWebComponent: ShlinkWebComponentType,
ShlinkWebComponent: FC<ShlinkWebComponentProps>,
ServerError: FC,
};
@@ -51,6 +51,7 @@ const ShlinkWebComponentContainer: FCWithDeps<
createNotFound={(nonPrefixedHomePath) => (
<NotFound to={`${routesPrefix}${nonPrefixedHomePath}`}>List short URLs</NotFound>
)}
autoSidebarToggle={false}
/>
);
}));