forked from tanner/qotnews
Cache all articles in IndexedDB
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user