minor fixes
This commit is contained in:
parent
b3a671623a
commit
d7daffdfd0
2
.github/workflows/node-ci.yml
vendored
2
.github/workflows/node-ci.yml
vendored
|
@ -1,6 +1,6 @@
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on: [pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"codegen": "graphql-codegen",
|
"codegen": "graphql-codegen",
|
||||||
"deploy": "graphql-codegen && npm run typecheck && astro build && vercel",
|
"deploy": "graphql-codegen && npm run typecheck && astro build && vercel",
|
||||||
"dev": "astro dev",
|
"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",
|
"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",
|
"format": "npx prettier \"{,!(node_modules)/**/}*.{js,ts,tsx,json,scss,css}\" --write --ignore-path .gitignore",
|
||||||
"lint": "npm run lint:code && npm run lint:styles",
|
"lint": "npm run lint:code && npm run lint:styles",
|
||||||
|
|
|
@ -99,7 +99,7 @@ export default (props: { code?: string; mode?: string }) => {
|
||||||
setError(t('Passwords are not equal'))
|
setError(t('Passwords are not equal'))
|
||||||
} else {
|
} else {
|
||||||
// FIXME use store actions
|
// FIXME use store actions
|
||||||
const r = await apiClient.signUp({
|
const r = await apiClient.authRegiser({
|
||||||
email: emailElement?.value,
|
email: emailElement?.value,
|
||||||
password: passElement?.value
|
password: passElement?.value
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user