revert: <a> ts expect error
This commit is contained in:
@@ -87,7 +87,6 @@ export function Link({
|
|||||||
|
|
||||||
// console.log({ adminBasePath, _href, href, bkndOptions })
|
// console.log({ adminBasePath, _href, href, bkndOptions })
|
||||||
if (native) {
|
if (native) {
|
||||||
// @ts-expect-error update wouter breaks types for anchor tag
|
|
||||||
return <a className={`${active ? "active " : ""}${className}`} {...props} href={href} />;
|
return <a className={`${active ? "active " : ""}${className}`} {...props} href={href} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user