fix: fully remove react-router now that it is unused (#1317)
This commit is contained in:
@@ -26,7 +26,7 @@ const noWindowLocationHref = {
|
||||
) {
|
||||
context.report({
|
||||
node,
|
||||
message: 'Do not use window.location.href directly in Electron apps. Use React Router\'s navigate() instead.'
|
||||
message: 'Do not use window.location.href directly in Electron apps. Use setView from the project instead'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user