aboutsummaryrefslogtreecommitdiffstats
path: root/jest.setup.js
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-12-21 19:32:59 +0100
committerArmand Philippot <git@armandphilippot.com>2021-12-21 19:32:59 +0100
commit6917a572011489aafe62c9d2479615cb2928094f (patch)
tree836b339563e8bf92f7704459fcd29a085bb6497d /jest.setup.js
parenta52dd5d7acd06d92e27c8a96fe010963ec5b8275 (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 'jest.setup.js')
0 files changed, 0 insertions, 0 deletions