mirror of
https://github.com/ajvpot/meshexplorer.git
synced 2026-03-28 17:42:58 +01:00
re enable important eslint rules
This commit is contained in:
@@ -15,8 +15,6 @@ const eslintConfig = [
|
|||||||
rules: {
|
rules: {
|
||||||
"@typescript-eslint/no-unused-vars": "off",
|
"@typescript-eslint/no-unused-vars": "off",
|
||||||
"@typescript-eslint/no-explicit-any": "off",
|
"@typescript-eslint/no-explicit-any": "off",
|
||||||
"react-hooks/rules-of-hooks": "off",
|
|
||||||
"react-hooks/exhaustive-deps": "off",
|
|
||||||
"prefer-const": "off"
|
"prefer-const": "off"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -277,12 +277,6 @@ export default function MapView() {
|
|||||||
ariaLabel="Refresh map nodes"
|
ariaLabel="Refresh map nodes"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{/* Add keyframes for spin animation */}
|
|
||||||
<style>{`
|
|
||||||
@keyframes spin {
|
|
||||||
100% { transform: rotate(360deg); }
|
|
||||||
}
|
|
||||||
`}</style>
|
|
||||||
<MapContainer
|
<MapContainer
|
||||||
center={[DEFAULT.lat, DEFAULT.lng]}
|
center={[DEFAULT.lat, DEFAULT.lng]}
|
||||||
zoom={DEFAULT.zoom}
|
zoom={DEFAULT.zoom}
|
||||||
|
|||||||
Reference in New Issue
Block a user