From d7daffdfd09a1fb2cda8802f47d3fcaff95f4d22 Mon Sep 17 00:00:00 2001 From: Igor Lobanov Date: Mon, 19 Sep 2022 10:52:26 +0200 Subject: [PATCH] minor fixes --- .github/workflows/node-ci.yml | 2 +- package.json | 2 +- src/components/Nav/AuthModal.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index 1134e136..6cea05c6 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -1,6 +1,6 @@ name: CI -on: [pull_request] +on: [push, pull_request] jobs: build: diff --git a/package.json b/package.json index 33f73fdf..36dae1d1 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "codegen": "graphql-codegen", "deploy": "graphql-codegen && npm run typecheck && astro build && vercel", "dev": "astro dev", - "ffix": "npm run lint:code:fix && npm run lint:styles:fix && npm run format", + "ffix": "npm run fix && npm run format", "fix": "npm run lint:code:fix && npm run lint:styles:fix", "format": "npx prettier \"{,!(node_modules)/**/}*.{js,ts,tsx,json,scss,css}\" --write --ignore-path .gitignore", "lint": "npm run lint:code && npm run lint:styles", diff --git a/src/components/Nav/AuthModal.tsx b/src/components/Nav/AuthModal.tsx index f4b47e10..5de46d39 100644 --- a/src/components/Nav/AuthModal.tsx +++ b/src/components/Nav/AuthModal.tsx @@ -99,7 +99,7 @@ export default (props: { code?: string; mode?: string }) => { setError(t('Passwords are not equal')) } else { // FIXME use store actions - const r = await apiClient.signUp({ + const r = await apiClient.authRegiser({ email: emailElement?.value, password: passElement?.value })