Cache all articles in IndexedDB

This commit is contained in:
2019-10-12 23:41:31 +00:00
parent 7cb87b59fe
commit 0f5b2a5ff9
10 changed files with 88 additions and 30 deletions

View File

@@ -29,12 +29,6 @@ export const infoLine = (story) =>
</div>
;
export const clearStorage = () => {
const themeSetting = localStorage.getItem('theme');
localStorage.clear();
localStorage.setItem('theme', themeSetting);
};
export class ToggleDot extends React.Component {
render() {
const id = this.props.id;