mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 00:30:11 +00:00
Fix fetching members
This commit is contained in:
parent
17da032e02
commit
682677432b
2 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import React, { useEffect, useState, useCallBack } from 'react';
|
||||
import React, { useEffect, useState, useCallback } from 'react';
|
||||
import * as BS from 'react-bootstrap'
|
||||
import Popup from 'reactjs-popup';
|
||||
import 'reactjs-popup/dist/index.css';
|
||||
|
|
@ -35,7 +35,7 @@ export default function Memberlist(props) {
|
|||
|
||||
const {register, handleSubmit} = useForm();
|
||||
|
||||
const fetchMembers = useCallBack( () => {
|
||||
const fetchMembers = useCallback( () => {
|
||||
setIsLoading(true);
|
||||
setIsError(false);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue