Skip to content

Commit

Permalink
Merge pull request #2 from octohedron/fix/hmr-background
Browse files Browse the repository at this point in the history
Add organizeImports and eslint config, update Popup, cleanup
  • Loading branch information
octohedron authored Apr 2, 2022
2 parents f3c8e5b + ef20336 commit 536a0e5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
9 changes: 7 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
"editor.formatOnSave": true
}
"editor.formatOnSave": true,
"typescript.updateImportsOnFileMove.enabled": "always",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.organizeImports": true
}
}
2 changes: 0 additions & 2 deletions src/pages/Background/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// import axios from 'axios';

console.log('This is the background page.');

// Example for listening to tab switching/loading
Expand Down
4 changes: 1 addition & 3 deletions src/pages/Popup/Popup.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import axios from 'axios';
import React, { useEffect, useState } from 'react';
import React, { useState } from 'react';
import logo from '../../assets/img/logo.svg';
import { Greetings } from '../../containers/Greetings/Greetings';
import './Popup.css';

export const Popup = () => {
Expand Down

0 comments on commit 536a0e5

Please sign in to comment.