Skip to content

Commit

Permalink
style: SonnarCloud Issues
Browse files Browse the repository at this point in the history
  • Loading branch information
FAUSTMANNSTEF committed Jan 8, 2025
1 parent d014bc4 commit 35c8ab3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 13 deletions.
11 changes: 3 additions & 8 deletions src/components/Grids/ZDSGrantCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Divider from "@mui/material/Divider";
import { GrantCardProps } from "./interface";
import Typography from "@mui/material/Typography";
import LocationIcon from "@mui/icons-material/LocationOn";
import { formatFinancialValue } from "utils/formatFinancialValue";

export const ZDSGrantCard: React.FC<GrantCardProps> = (
props: GrantCardProps
Expand Down Expand Up @@ -75,12 +76,6 @@ export const ZDSGrantCard: React.FC<GrantCardProps> = (
{props.location}
</Typography>
</Box>
{/* <Box gap="4px" display="flex" alignItems="center">
<SignalCellularAltIcon fontSize="small" />
<Typography fontSize="12px" fontWeight="700">
{props.rating}
</Typography>
</Box> */}
</Box>
<Typography variant="body1" fontWeight="700">
{props.number}
Expand Down Expand Up @@ -126,15 +121,15 @@ export const ZDSGrantCard: React.FC<GrantCardProps> = (
Signed
</Typography>
<Typography fontSize="12px" letterSpacing="normal">
{/* {formatFinancialValue(props.signed)} */}
{formatFinancialValue(props.signed)}
</Typography>
</Box>
<Box width="100%" display="flex" justifyContent="space-between">
<Typography fontSize="12px" fontWeight="700">
Disbursed · {props.percentage}%
</Typography>
<Typography fontSize="12px" letterSpacing="normal">
{/* {formatFinancialValue(props.disbursed)} */}
{formatFinancialValue(props.disbursed)}
</Typography>
</Box>
<Box
Expand Down
2 changes: 1 addition & 1 deletion src/components/Menu/MuiMenu/ZDSDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { DropdownProps } from "./interface";
import Divider from "@mui/material/Divider";
import MenuItem from "@mui/material/MenuItem";

export default function MyDropdown(props: Readonly<DropdownProps>) {
export default function ZDSDropdown(props: Readonly<DropdownProps>) {
const {
id,
anchorElement,
Expand Down
1 change: 0 additions & 1 deletion src/components/Tables/MuiTables/ZDSTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ export default function MyTable({
}}
>
{header.label}
{/* {column.headerInfo && <InfoIcon width={14} height={14} />} */}
{sortable && currentSortKey === header.headerId && (
<span style={{ color: sortIndicatorColor }}>
{currentSortDirection === "asc" ? " ▲" : " ▼"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { RowComponent } from "tabulator-tables";
import "tabulator-tables/dist/css/tabulator.min.css";
import { TabulatorFull as Tabulator } from "tabulator-tables";

export default function TabulatorTable({
export default function ZDSTabulatorTable({
id,
data,
columns,
Expand Down
2 changes: 0 additions & 2 deletions src/components/Tables/TabulatorTables/data.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { TableDataItem } from "./types";
import { financialFormatter } from "./const";
import { cellBGColorFormatter } from "./const";
import { CellComponent } from "tabulator-tables";
import { ColumnDefinition } from "tabulator-tables";
import { formatLocale } from "app/utils/formatLocale";
import { TabulatorFull as Tabulator } from "tabulator-tables";

export const TABLE_VARIATION_1_COLUMNS: ColumnDefinition[] = [
Expand Down

0 comments on commit 35c8ab3

Please sign in to comment.