s-alad / toofake

View friends BeReals without posting or them knowing. Post custom BeReal's whenever. Add custom realmojis
https://toofake.lol/
MIT License
156 stars 35 forks source link

[BUG] Latest commit causes docker build error #135

Closed TyraVex closed 2 months ago

TyraVex commented 2 months ago

Hello,

I did git pull and docker build -t toofake . and I get the following build error:

Failed to compile.                                          
./components/instant/instant.tsx:116:13
Type error: Argument of type 'Element' is not assignable to parameter of type 'SetStateAction<string>'.

  114 |
  115 |         setLocation(
> 116 |             <div>
      |             ^
  117 |                 <p>{locationString}</p>
  118 |                 <a href={googleMapsLink} target="_blank" rel="noopener noreferrer">View on Google Maps</a>
  119 |             </div>                                  

There weren't such errors when I built the project last month.

Thanks!

MegaTheLEGEND commented 2 months ago

Odd it worked when I used npm instead of docker.

s-alad commented 2 months ago

fixed