diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-12-21 19:32:59 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-12-21 19:32:59 +0100 |
| commit | 6917a572011489aafe62c9d2479615cb2928094f (patch) | |
| tree | 836b339563e8bf92f7704459fcd29a085bb6497d /src/components/Icons/index.tsx | |
| parent | a52dd5d7acd06d92e27c8a96fe010963ec5b8275 (diff) | |
fix: use state to define hostname in sharing component
The window is not available during build, so an error occured. By
using React hooks to set the hostname once in the browser, it works as
expected.
Diffstat (limited to 'src/components/Icons/index.tsx')
0 files changed, 0 insertions, 0 deletions
