fix code style, use names from api instead of hardcoding for flatmates users
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { useEffect, useState } from "react";
|
||||
import style from "./style.module.css";
|
||||
|
||||
import { useState, useEffect } from "react";
|
||||
|
||||
export default function Datetime() {
|
||||
const locale = "de";
|
||||
const [today, setDate] = useState(new Date());
|
||||
@@ -27,7 +26,7 @@ export default function Datetime() {
|
||||
return (
|
||||
<div className={style.container}>
|
||||
<div className={style.icon}>
|
||||
<img src="src/assets/clock.png" />
|
||||
<img src="src/assets/clock.png" alt="Clock" />
|
||||
</div>
|
||||
<div className={style.textContainer}>
|
||||
<div className={style.time}>
|
||||
|
||||
Reference in New Issue
Block a user