summaryrefslogtreecommitdiffstats
path: root/src/components/Sharing/Sharing.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(sharing): avoid nested template literalsArmand Philippot2022-01-041-8/+11
| | | | | This improves readability. I also rename a variable to avoid duplicate between global scope and useEffect scope.
* fix: use state to define hostname in sharing componentArmand Philippot2021-12-211-2/+3
| | | | | | 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.
* chore: add a sharing componentArmand Philippot2021-12-211-0/+106