feat(app): add copy unicode button

This commit is contained in:
rektdeckard
2024-01-10 01:06:34 -07:00
committed by Tobias Fried
parent 7502b8b3ce
commit 697c6c836c
8 changed files with 73 additions and 41 deletions

View File

@@ -42,6 +42,7 @@ export default ({ children }: { children: ReactNode }) => {
const listen: ListenToItems = useCallback(
({ updateItem, updateAllKnownItems }) => {
void updateAllKnownItems;
const onStorage = (event: StorageEvent) => {
// ignore clear() calls
if (event.storageArea === localStorage && event.key !== null) {