mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-26 06:18:04 +00:00
Enabled recommended-requiring-type-checking as result type fixes provided (#632)
* Enabled recommended-requiring-type-checking * from .cjs to .js * check * check * check * check * A lot of types aligned and refactored * More strict types * Improvement * Improvements * Improvements * Fixed routs * Fixed import types
This commit is contained in:
@@ -27,13 +27,9 @@ const LinkWithSearchParams = ({
|
||||
prefixedUrl = `/${encodeURIComponent(context)}${to}`;
|
||||
}
|
||||
|
||||
return (
|
||||
<NavLink
|
||||
data-cy="navigation-link"
|
||||
to={`${prefixedUrl}/?${params.toString()}`}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
const url = `${prefixedUrl}/?${params.toString()}`;
|
||||
|
||||
return <NavLink data-cy="navigation-link" to={url} {...props} />;
|
||||
};
|
||||
|
||||
export default LinkWithSearchParams;
|
||||
|
||||
Reference in New Issue
Block a user