Fix errors detected by linter

I meant to fix these changes before pushing the PR, but forgot about it.
This commit is contained in:
Hornwitser committed 2021-03-03 14:41:55 +01:00
1 parent 7797ee708a
commit bdd70e53dc
2 files changed
+5 -5

No files matched your search

@@ -12,7 +12,7 @@ export default function PluginViewPage() {
let plugins = useContext(PluginsContext);
let pluginName = params.name;
let plugin = plugins.find(plugin => plugin.meta.name === pluginName);
let plugin = plugins.find(p => p.meta.name === pluginName);
let pluginTitle = plugin.info ? plugin.info.title : plugin.meta.name;
let nav = [{ name: "Plugins", path: "/plugins" }, { name: pluginTitle }];
if (!plugin) {