Fix errors in building
This commit is contained in:
parent
240640dc49
commit
47ba267d5b
3 changed files with 3 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ interface Props {
|
|||
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void
|
||||
}
|
||||
|
||||
const CharLimitedFieldset = React.forwardRef<HTMLInputElement, Props>(function fieldSet(props, ref) {
|
||||
const CharLimitedFieldset = React.forwardRef<HTMLInputElement, Props>(function useFieldSet(props, ref) {
|
||||
const fieldType = (['password', 'confirm_password'].includes(props.fieldName)) ? 'password' : 'text'
|
||||
|
||||
const [currentCount, setCurrentCount] = useState(0)
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ const Party = (props: Props) => {
|
|||
fetchDetails(shortcode)
|
||||
else
|
||||
appState.party.editable = true
|
||||
}, [props.slug])
|
||||
}, [props.slug, fetchDetails])
|
||||
|
||||
// Methods: Creating a new party
|
||||
async function createParty(extra: boolean = false) {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ interface Props {
|
|||
onBlur: (event: React.ChangeEvent<HTMLSelectElement>) => void
|
||||
}
|
||||
|
||||
const RaidDropdown = React.forwardRef<HTMLSelectElement, Props>(function fieldSet(props, ref) {
|
||||
const RaidDropdown = React.forwardRef<HTMLSelectElement, Props>(function useFieldSet(props, ref) {
|
||||
const [cookies, _] = useCookies(['user'])
|
||||
const headers = (cookies.user != null) ? {
|
||||
headers: { 'Authorization': `Bearer ${cookies.user.access_token}` }
|
||||
|
|
|
|||
Loading…
Reference in a new issue