mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-08-02 17:11:51 +00:00
Fixed shape types not properly defined as shapes but as plane objects
This commit is contained in:
@@ -3,11 +3,11 @@ import { LIST_SHORT_URLS } from './shortUrlsList';
|
||||
|
||||
export const RESET_SHORT_URL_PARAMS = 'shlink/shortUrlsListParams/RESET_SHORT_URL_PARAMS';
|
||||
|
||||
export const shortUrlsListParamsType = {
|
||||
export const shortUrlsListParamsType = PropTypes.shape({
|
||||
page: PropTypes.string,
|
||||
tags: PropTypes.arrayOf(PropTypes.string),
|
||||
searchTerm: PropTypes.string,
|
||||
};
|
||||
});
|
||||
|
||||
const defaultState = { page: '1' };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user