@goralys/ui 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
1
3
|
// src/hooks/goralys-ui-provider.tsx
|
|
2
4
|
import { createContext, useContext, useMemo } from "react";
|
|
3
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -3323,7 +3325,7 @@ function LoginForm() {
|
|
|
3323
3325
|
const [csrfToken, setCsrfToken] = useState32(null);
|
|
3324
3326
|
const [submitting, setSubmitting] = useState32(false);
|
|
3325
3327
|
const submittingRef = useRef9(false);
|
|
3326
|
-
const requestUrl = `${apiDomain}/user/login?high-school-token=${getSchoolToken}`;
|
|
3328
|
+
const requestUrl = `${apiDomain}/user/login?high-school-token=${getSchoolToken()}`;
|
|
3327
3329
|
useEffect17(() => {
|
|
3328
3330
|
const canceled = false;
|
|
3329
3331
|
fetchCsrfClient7("login").then((token) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goralys/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"license": "LGPL-2.1-or-later",
|
|
5
5
|
"description": "Shared React UI components for Goralys web and mobile apps",
|
|
6
6
|
"repository": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@heroicons/react": "^2.2.0",
|
|
42
42
|
"clsx": "^2.1.1",
|
|
43
|
-
"@goralys/core": "
|
|
43
|
+
"@goralys/core": "^1.6.6"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": ">=19",
|