Small fixes
This commit is contained in:
parent
f1f74f06c7
commit
f1f6352b22
2 changed files with 2 additions and 3 deletions
|
|
@ -2,7 +2,6 @@ import React, { useEffect, useState } from 'react'
|
|||
import api from '~utils/api'
|
||||
import history from '~utils/history'
|
||||
|
||||
|
||||
import WeaponUnit from '~components/WeaponUnit/WeaponUnit'
|
||||
import Button from '~components/Button/Button'
|
||||
|
||||
|
|
@ -68,7 +67,7 @@ const WeaponGrid = (props: Props) => {
|
|||
if (props.pushHistory) {
|
||||
props.pushHistory(`/p/${party.shortcode}`)
|
||||
}
|
||||
|
||||
|
||||
return party.id
|
||||
})
|
||||
.then(partyId => {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ interface Props {}
|
|||
interface NewProps extends RouteComponentProps<Props> {}
|
||||
|
||||
const New: React.FC<NewProps> = (props: NewProps) => {
|
||||
const [cookies, setCookie] = useCookies(['userId'])
|
||||
const [cookies, setCookie] = useCookies(['user'])
|
||||
|
||||
function callback(path: string) {
|
||||
// This is scuffed, how do we do this natively?
|
||||
|
|
|
|||
Loading…
Reference in a new issue