auto-component 0.0.16 → 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,15 +1,12 @@
1
1
  {
2
2
  "name": "auto-component",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
4
4
  "main": "src/auto-component.jsx",
5
5
  "module": "src/auto-component.jsx",
6
6
  "peerDependencies": {
7
7
  "react": "*",
8
8
  "react-dom": "*"
9
9
  },
10
- "dependencies": {
11
- "js-beautify": "^1.14.10"
12
- },
13
10
  "files": [
14
11
  "src"
15
12
  ]
@@ -1,5 +1,5 @@
1
1
  import { useState, useEffect } from 'react'
2
- import beautify from 'js-beautify'
2
+ import beautify from 'js-beautify';
3
3
 
4
4
  import './auto-component.css'
5
5
 
@@ -25,6 +25,8 @@ const AutoComponent = () => {
25
25
  //**-------------------------**/
26
26
  // ** HTML/CSS Formatting ** //
27
27
  //**-----------------------**/
28
+
29
+
28
30
  // get the html/style for the current page and set state
29
31
  const htmlContent = () => {
30
32
  const body = document.querySelector('body')