🔧 chore: REMOVE framework for now

This commit is contained in:
Andre H 2024-03-01 14:07:12 +08:00
parent 8114b10932
commit be0ea904ee

View File

@ -9,13 +9,8 @@ import { useGQLClient } from '../../../../../context/GQLClientContext';
import { Template } from '../../../../../types';
import { Heading } from 'components/shared/Heading';
import { Input } from 'components/shared/Input';
import { Radio } from 'components/shared/Radio';
import { Select, SelectOption } from 'components/shared/Select';
import {
ArrowRightCircleFilledIcon,
GitIcon,
GitTeaIcon,
} from 'components/shared/CustomIcon';
import { ArrowRightCircleFilledIcon } from 'components/shared/CustomIcon';
import { Checkbox } from 'components/shared/Checkbox';
import { Button } from 'components/shared/Button';
@ -38,19 +33,6 @@ const CreateRepo = () => {
const [gitAccounts, setGitAccounts] = useState<string[]>([]);
const [isLoading, setIsLoading] = useState(false);
const FRAMEWORK_OPTIONS = [
{
value: 'React',
label: 'React Native',
leftIcon: <GitIcon />,
},
{
value: 'Expo',
label: 'Expo',
leftIcon: <GitTeaIcon />,
},
];
const submitRepoHandler: SubmitHandler<SubmitRepoValues> = useCallback(
async (data) => {
assert(data.account);
@ -140,22 +122,6 @@ const CreateRepo = () => {
The project will be cloned into this repository
</Heading>
</div>
<div className="flex flex-col justify-start gap-3">
<span className="text-sm text-elements-high-em">Framework</span>
<Controller
name="framework"
control={control}
render={({ field: { value, onChange } }) => (
<Radio
variant="card"
options={FRAMEWORK_OPTIONS}
orientation="horizontal"
value={value}
onValueChange={onChange}
/>
)}
/>
</div>
<div className="flex flex-col justify-start gap-3">
<span className="text-sm text-elements-high-em">Git account</span>
<Controller