Fix ESLint issues
This commit is contained in:
@ -26,7 +26,7 @@ export function CreateTokenDialog(p: {
|
||||
const loadingMessage = useLoadingMessage();
|
||||
|
||||
const [newTokenUndef, setNewToken] = React.useState<NewToken | undefined>();
|
||||
const newToken = newTokenUndef || {
|
||||
const newToken = newTokenUndef ?? {
|
||||
name: "",
|
||||
ip_net: undefined,
|
||||
max_inactivity: 3600 * 24 * 90,
|
||||
|
Reference in New Issue
Block a user