Skip to content

feat: Login via CLI #298

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Feb 18, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix lint warnings
  • Loading branch information
bryphe-coder committed Feb 16, 2022
commit 3bb3164dd9d028d8489d5ce98a6e06e6afbd631d
4 changes: 2 additions & 2 deletions site/pages/cli-auth.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Typography } from "@material-ui/core"
import Paper from "@material-ui/core/Paper"
import Typography from "@material-ui/core/Typography"
import { makeStyles } from "@material-ui/core/styles"
import React, { useEffect, useState } from "react"
import { getApiKey } from "../api"
Expand All @@ -16,7 +16,7 @@ const CliAuthenticationPage: React.FC = () => {

useEffect(() => {
if (me?.id) {
getApiKey().then(({ key }) => {
void getApiKey().then(({ key }) => {
setApiKey(key)
})
}
Expand Down