From 25961dd83c5577d562e037f30cd9187cecf7581d Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
<66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Fri, 15 Nov 2024 15:41:48 +0000
Subject: [PATCH 1/2] [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---
src/components/Installer/index.jsx | 90 ++++++++++++------------------
1 file changed, 36 insertions(+), 54 deletions(-)
diff --git a/src/components/Installer/index.jsx b/src/components/Installer/index.jsx
index f26bf60..a9a8b77 100644
--- a/src/components/Installer/index.jsx
+++ b/src/components/Installer/index.jsx
@@ -1,48 +1,48 @@
-import React, { useState } from 'react';
-import styles from './styles.module.css';
+import React, { useState } from "react";
+import styles from "./styles.module.css";
export default function CondaInstallerSelector() {
- const [os, setOs] = useState('');
- const [arch, setArch] = useState('');
- const [installerType, setInstallerType] = useState('');
+ const [os, setOs] = useState("");
+ const [arch, setArch] = useState("");
+ const [installerType, setInstallerType] = useState("");
const osArchitectures = {
- Linux: ['x64', 'aarch64', 'ppc64le'],
- macOS: ['x64', 'ARM64'],
- Windows: ['x64', 'ARM64 (Beta)'],
+ Linux: ["x64", "aarch64", "ppc64le"],
+ macOS: ["x64", "ARM64"],
+ Windows: ["x64", "ARM64 (Beta)"],
};
const installerData = {
Anaconda: {
- name: 'Anaconda Distribution',
- url: 'https://docs.anaconda.com/anaconda/install/index.html',
- defaultChannel: 'defaults',
- description: 'A Python/R data science distribution containing conda',
+ name: "Anaconda Distribution",
+ url: "https://docs.anaconda.com/anaconda/install/index.html",
+ defaultChannel: "defaults",
+ description: "A Python/R data science distribution containing conda",
},
Miniconda: {
- name: 'Miniconda',
- url: 'https://docs.anaconda.com/miniconda/index.html',
- defaultChannel: 'defaults',
- description: 'Minimal installation of Anaconda Distribution',
+ name: "Miniconda",
+ url: "https://docs.anaconda.com/miniconda/index.html",
+ defaultChannel: "defaults",
+ description: "Minimal installation of Anaconda Distribution",
},
Miniforge: {
- name: 'Miniforge',
- url: 'https://github.com/conda-forge/miniforge',
- defaultChannel: 'conda-forge',
- description: 'Community-driven minimal installer using conda-forge',
+ name: "Miniforge",
+ url: "https://github.com/conda-forge/miniforge",
+ defaultChannel: "conda-forge",
+ description: "Community-driven minimal installer using conda-forge",
},
Micromamba: {
- name: 'Micromamba',
- url: 'https://mamba.readthedocs.io/en/latest/installation.html#micromamba',
- defaultChannel: 'conda-forge',
- description: 'Standalone fast package manager (no conda required)',
+ name: "Micromamba",
+ url: "https://mamba.readthedocs.io/en/latest/installation.html#micromamba",
+ defaultChannel: "conda-forge",
+ description: "Standalone fast package manager (no conda required)",
isStandalone: true,
},
Pixi: {
- name: 'Pixi',
- url: 'https://prefix.dev/docs/pixi/installation',
- defaultChannel: 'conda-forge',
- description: 'Modern package management solution for Python, C++, and R',
+ name: "Pixi",
+ url: "https://prefix.dev/docs/pixi/installation",
+ defaultChannel: "conda-forge",
+ description: "Modern package management solution for Python, C++, and R",
isStandalone: true,
},
};
@@ -67,7 +67,7 @@ export default function CondaInstallerSelector() {