Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const getActiveTheme = () => browser.storage.sync.get().then(res => isTheme(res.theme)
? Just(res.theme)
: Nothing,
);
onGroupClick={(id) => {
props.setGroup(Just(id));
props.setPage(Page.StagedGroup);
}}
exit={props.setPage.bind(null, Page.Search)}
onEditBookmark={(id) => {
props.onEditBookmark(Just(id));
props.setPage(Page.EditStagedBookmark);
}}
onDeleteBookmark={(id) => {