Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
LogicDX342 committed Apr 14, 2024
1 parent cad5305 commit 3f5411a
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 19 deletions.
29 changes: 28 additions & 1 deletion client/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/src/App.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { render, screen } from '@testing-library/react';
import {render, screen} from '@testing-library/react';
import App from './App';

test('renders learn react link', () => {
Expand Down
30 changes: 15 additions & 15 deletions client/src/publish/components/textInput.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import React from "react";
import React from 'react';
function TextInput(props) {
const inputStyle = {
width: props.width+'px',
height: props.height+'px',
}
return (
<div>
<label>{props.name}</label><br/>
<textarea type="text" style={inputStyle}/>
</div>
);
}
export default TextInput;
const inputStyle = {
width: props.width + 'px',
height: props.height + 'px',
};
return (
<div>
<label>{props.name}</label>
<br />
<textarea type='text' style={inputStyle} />
</div>
);
}

export default TextInput;
4 changes: 2 additions & 2 deletions client/src/reportWebVitals.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const reportWebVitals = onPerfEntry => {
const reportWebVitals = (onPerfEntry) => {
if (onPerfEntry && onPerfEntry instanceof Function) {
import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
import('web-vitals').then(({getCLS, getFID, getFCP, getLCP, getTTFB}) => {
getCLS(onPerfEntry);
getFID(onPerfEntry);
getFCP(onPerfEntry);
Expand Down

0 comments on commit 3f5411a

Please sign in to comment.