Skip to content

Commit 8d3b613

Browse files
committed
lint fix
1 parent 2abfa5a commit 8d3b613

File tree

2 files changed

+13
-75
lines changed

2 files changed

+13
-75
lines changed

apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/support/_components/contact-forms/connect/AffectedAreaInput.tsx

Lines changed: 0 additions & 67 deletions
This file was deleted.

apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/support/_components/contact-forms/engine/index.tsx

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { useState } from "react";
22
import { DescriptionInput } from "../../shared/SupportForm_DescriptionInput";
33
import { SupportForm_SelectInput } from "../../shared/SupportForm_SelectInput";
44
import { SupportForm_TextInput } from "../../shared/SupportForm_TextInput";
5+
import { UnitySupportForm } from "../../shared/SupportForm_UnityInput";
56

67
const API_SDK_OPTIONS = [
78
"API endpoint",
@@ -27,14 +28,18 @@ export function EngineSupportForm() {
2728
/>
2829
{selectedSDK && (
2930
<>
30-
{selectedSDK !== "API endpoint" && (
31-
<SupportForm_TextInput
32-
formLabel="Version of SDK"
33-
formValue="extraInfo_SDK_Version"
34-
inputType="text"
35-
placeholder="e.g. 3.12.0"
36-
required={true}
37-
/>
31+
{selectedSDK === "Unity/.NET" ? (
32+
<UnitySupportForm />
33+
) : (
34+
selectedSDK !== "API endpoint" && (
35+
<SupportForm_TextInput
36+
formLabel="Version of SDK"
37+
formValue="extraInfo_SDK_Version"
38+
inputType="text"
39+
placeholder="e.g. 3.12.0"
40+
required={true}
41+
/>
42+
)
3843
)}
3944
<SupportForm_TextInput
4045
formLabel="Queue/Support ID in logs"

0 commit comments

Comments
 (0)