Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ChakkritGit committed Jan 24, 2025
1 parent 0948064 commit d4990e2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/components/dashboard/apexchartFull.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Chart from "react-apexcharts"
import { logtype } from "../../types/log.type"
import { useTheme } from "../../theme/ThemeProvider"

type chartType = {
chartData: logtype[],
devicesData: { tempMin: number | undefined, tempMax: number | undefined },
Expand Down
4 changes: 0 additions & 4 deletions src/pages/login/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import {
TimeStap
} from '../../style/components/login'
import { LineHr } from '../../style/style'
import { Helmet } from 'react-helmet'
import { AgreeSection } from '../../style/components/contact.styled'
import playStore from '../../assets/images/playstore.png'
import appStore from '../../assets/images/appstore.png'
Expand Down Expand Up @@ -141,9 +140,6 @@ export default function Login() {

return (
<Container className='p-3 d-flex flex-column gap-3'>
<Helmet>
<title>Login</title>
</Helmet>
<LangContainer>
<LangguageSelector />
</LangContainer>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/users/adduser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function Adduser(AdduserProp: adduserProp) {
const [show, setShow] = useState(false)
const [showPass, setShowPass] = useState(false)
const [form, setform] = useState({
group_id: pagestate !== "add" ? String(userData?.userId) : '',
group_id: pagestate !== "add" ? String(userData?.wardId) : '',
user_name: pagestate !== "add" ? String(userData?.userName) : '',
user_password: '',
display_name: pagestate !== "add" ? String(userData?.displayName) : '',
Expand Down

0 comments on commit d4990e2

Please sign in to comment.