Skip to content

Commit 8ed7977

Browse files
committed
add @fortawesome/react-fontawesome 3.0.0
1 parent 90556f2 commit 8ed7977

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Extensions/Signum.Dashboard/Admin/Dashboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default function Dashboard(p: { ctx: TypeContext<DashboardEntity> }): Rea
7878
<div>
7979
<div className="d-flex">
8080
{icon && <div className="mx-2">
81-
<FontAwesomeIcon icon={fallbackIcon(icon)} style={{ color: tc.value.iconColor ?? undefined, fontSize: "25px" }} {...avoidDrag}
81+
<FontAwesomeIcon icon={fallbackIcon(icon)} style={{ color: tc.value.iconColor ?? undefined, fontSize: "25px" }} {...avoidDrag as any}
8282
onClick={() => selectIcon(tc).then(a => {
8383
if (a) {
8484
tc.value.iconName = a.iconName;

Signum/React/Services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ export function b64toBlob(b64Data: string, contentType: string = "", sliceSize =
301301
sliceSize = sliceSize || 512;
302302

303303
var byteCharacters = atob(b64Data);
304-
var byteArrays: Uint8Array[] = [];
304+
var byteArrays: Uint8Array<ArrayBuffer>[] = [];
305305

306306
for (var offset = 0; offset < byteCharacters.length; offset += sliceSize) {
307307
var slice = byteCharacters.slice(offset, offset + sliceSize);

Signum/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@fortawesome/free-brands-svg-icons": "6.7.2",
2626
"@fortawesome/free-regular-svg-icons": "6.7.2",
2727
"@fortawesome/free-solid-svg-icons": "6.7.2",
28-
"@fortawesome/react-fontawesome": "0.2.3",
28+
"@fortawesome/react-fontawesome": "3.0.0",
2929
"@types/d3": "7.4.3",
3030
"@types/d3-scale-chromatic": "3.1.0",
3131
"@types/luxon": "3.6.2",

0 commit comments

Comments
 (0)