mirror of
https://github.com/dergigi/boris.git
synced 2025-12-27 03:24:31 +01:00
fix: correct FastAverageColor import to use named export
- Change from default import to named import - Resolves TypeScript error TS2351
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { useEffect, useState } from 'react'
|
||||
import FastAverageColor from 'fast-average-color'
|
||||
import { FastAverageColor } from 'fast-average-color'
|
||||
|
||||
interface AdaptiveTextColor {
|
||||
textColor: string
|
||||
|
||||
Reference in New Issue
Block a user