Skip to content

Commit

Permalink
fix(LoginForm): fix how react is imported
Browse files Browse the repository at this point in the history
  • Loading branch information
zaaakher committed Apr 28, 2024
1 parent b073aa5 commit 70d8a58
Show file tree
Hide file tree
Showing 5 changed files with 10,247 additions and 8,091 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"packages/storybook",
"apps/docs"
],
"packageManager": "[email protected]",
"pnpm": {
"overrides": {
"flexsearch": "0.7.31"
Expand Down
3 changes: 2 additions & 1 deletion packages/components/blocks/auth/LoginForm.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { FC, useState } from "react";
import React from "react";
import { FC, useState } from "react";
import { Controller, useForm } from "react-hook-form";

import { zodResolver } from "@hookform/resolvers/zod";
Expand Down
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sikka/hawa",
"version": "0.31.7",
"version": "0.31.8",
"description": "Modern UI Kit made with Tailwind",
"author": {
"name": "Sikka Software",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const Template = (args: any, globals: any) => {
const [isLoading, setIsLoading] = useState(false);
let d = useDarkMode();
return (
<div className="hawa-flex hawa-w-full hawa-max-w-md hawa-flex-col">
<div className="hawa-flex hawa-w-full hawa-max-w-md hawa-flex-col hawa-gap-4">
<LoginForm
direction={direction}
currentColorMode={d ? "dark" : "light"}
Expand Down
Loading

0 comments on commit 70d8a58

Please sign in to comment.