Skip to content

Commit

Permalink
fix: delete redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
zhazhazhu committed Jan 12, 2024
1 parent 4dc3835 commit c05d991
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ export const useGlobalState = createGlobalState(() => {
const login_uri =
"https://github.com/login/oauth/authorize" +
paramsSerializer({
state: import.meta.env.VITE_GITHUB_STATE,
state: env.state,
scope: import.meta.env.VITE_GITHUB_SCOPE,
client_id: import.meta.env.VITE_GITHUB_CLIENT_ID,
client_secret: import.meta.env.VITE_GITHUB_CLIENT_SECRET,
redirect_uri: import.meta.env.VITE_GITHUB_REDIRECT_URI,
client_id: env.client_id,
client_secret: env.client_secret,
redirect_uri: env.redirect_uri,
});
const authorize = useStorage<UserToken>(
"picx-authorize",
Expand Down

0 comments on commit c05d991

Please sign in to comment.