Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
bug-fix: build-error
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikkabade committed Jul 11, 2024
1 parent 9780995 commit 4a0e130
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/pages/PM.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const PM = () => {
</h3>
<div className={`mt-5 radial-progress
${percentageAvailableFunds > 60 ? 'text-success' :
percentageAvailableFunds > 40 ? 'text-warning' : 'text-error'}`} style={{ "--value": percentageAvailableFunds }} role="progressbar">
percentageAvailableFunds > 40 ? 'text-warning' : 'text-error'}`} style={{ "--value": percentageAvailableFunds } as React.CSSProperties} role="progressbar">
{percentageAvailableFunds}%
</div>
</div>
Expand Down
4 changes: 0 additions & 4 deletions src/pages/SM.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import TaskInterface from "../interfaces/TaskInterface";
import ProjectInterface from "../interfaces/ProjectInterface";
import EmployeeInterface from "../interfaces/EmployeeInterface";
import StatusOptions from "../interfaces/StatusOptions";
import FinanceInterface from "../interfaces/FinanceInterface";
import PageName from "../functions/PageName";
import { GetItem, SetItem } from "../functions/ArrayData";
import { FundingStatus } from "../components/FundingStatus";
Expand All @@ -13,7 +12,6 @@ export const SM = () => {
const [tasks, setTasks] = useState<TaskInterface[]>([]);
const [projects, setProjects] = useState<ProjectInterface[]>([]);
const [employees, setEmployees] = useState<EmployeeInterface[]>([]);
const [finances, setFinances] = useState<FinanceInterface[]>([]);

useEffect(() => {
const tasks = GetItem('tasks');
Expand All @@ -22,8 +20,6 @@ export const SM = () => {
setProjects(projects);
const employees = GetItem('employees');
setEmployees(employees);
const finances = GetItem('finances');
setFinances(finances);
PageName('SM');
}, []);

Expand Down

0 comments on commit 4a0e130

Please sign in to comment.