diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..8238b63 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,11 @@ +# This configuration file was automatically generated by Gitpod. +# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml) +# and commit this file to your remote git repository to share the goodness with others. + +# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart + +tasks: + - init: yarn install && yarn run build + command: yarn run dev + + diff --git a/src/components/DevAreaTools/JSONFormatter.jsx b/src/components/DevAreaTools/JSONFormatter.jsx index 5e21031..b48e5df 100644 --- a/src/components/DevAreaTools/JSONFormatter.jsx +++ b/src/components/DevAreaTools/JSONFormatter.jsx @@ -1,7 +1,7 @@ import React, { useState } from 'react'; import { Input, Button, Alert } from 'antd'; -import JSONPretty from 'react-json-pretty'; // You might need to install this library for pretty JSON output -import 'react-json-pretty/themes/monikai.css'; // Optional: import a theme for JSONPretty +import JSONPretty from 'react-json-pretty'; +import 'react-json-pretty/themes/monikai.css'; import { toast } from 'sonner'; const JSONFormatter = () => { @@ -39,29 +39,29 @@ const JSONFormatter = () => { }; return ( -