aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Buttons/Buttons.module.scss
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 /src/components/Buttons/Buttons.module.scss
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 'src/components/Buttons/Buttons.module.scss')
0 files changed, 0 insertions, 0 deletions