mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-03-13 05:32:24 +00:00
linting
change name on accesstype field
This commit is contained in:
parent
51db30cc92
commit
32bd15d16f
1 changed files with 3 additions and 7 deletions
|
@ -8,10 +8,6 @@ export default function ConfluenceOptions() {
|
|||
const [loading, setLoading] = useState(false);
|
||||
const [accessType, setAccessType] = useState("username");
|
||||
|
||||
const changeAccessType = (value) => {
|
||||
setAccessType(value);
|
||||
};
|
||||
|
||||
const handleSubmit = async (e) => {
|
||||
e.preventDefault();
|
||||
const form = new FormData(e.target);
|
||||
|
@ -136,12 +132,12 @@ export default function ConfluenceOptions() {
|
|||
</p>
|
||||
</div>
|
||||
<select
|
||||
name="userLang"
|
||||
name="accessType"
|
||||
className="border-none bg-theme-settings-input-bg w-fit mt-2 px-4 border-gray-500 text-white text-sm rounded-lg block py-2"
|
||||
defaultValue={accessType}
|
||||
onChange={(e) => changeAccessType(e.target.value)}
|
||||
onChange={(e) => setAccessType(e.target.value)}
|
||||
>
|
||||
{[
|
||||
{[
|
||||
{
|
||||
name: "Username and Access Token",
|
||||
value: "username",
|
||||
|
|
Loading…
Add table
Reference in a new issue