mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 07:33:12 +09:00
Fix errors detected by linter
I meant to fix these changes before pushing the PR, but forgot about it.
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user