Skip to content

Commit 9017af7

Browse files
Fixed type casting
1 parent 2d452e5 commit 9017af7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/js/pages/welcome.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { type SharedData } from '@/types';
22
import { Head, Link, usePage } from '@inertiajs/react';
3+
import { Property } from 'csstype';
34

45
export default function Welcome() {
56
const { auth } = usePage<SharedData>().props;
@@ -218,8 +219,7 @@ export default function Welcome() {
218219
/>
219220
</g>
220221
<g
221-
/** @ts-expect-error 'plus-darker' doesn't seem to be defined in the 'csstype' module */
222-
style={{ mixBlendMode: 'plus-darker' }}
222+
style={{ mixBlendMode: 'plus-darker' as Property.MixBlendMode }}
223223
className="translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0"
224224
>
225225
<path

0 commit comments

Comments
 (0)