Skip to content
Snippets Groups Projects
Commit fbd343bb authored by ali asaria's avatar ali asaria
Browse files

remove some comments

parent c91b492d
No related branches found
No related tags found
Loading
...@@ -76,7 +76,7 @@ export default function Computer() { ...@@ -76,7 +76,7 @@ export default function Computer() {
const { data: pythonLibraries } = useSWR( const { data: pythonLibraries } = useSWR(
chatAPI.Endpoints.ServerInfo.PythonLibraries(), chatAPI.Endpoints.ServerInfo.PythonLibraries(),
fetcher fetcher,
); );
return ( return (
...@@ -136,7 +136,7 @@ export default function Computer() { ...@@ -136,7 +136,7 @@ export default function Computer() {
value={ value={
<> <>
{Math.round( {Math.round(
(g?.used_memory / g?.total_memory) * 100 (g?.used_memory / g?.total_memory) * 100,
)} )}
% %
<LinearProgress <LinearProgress
...@@ -250,18 +250,9 @@ export default function Computer() { ...@@ -250,18 +250,9 @@ export default function Computer() {
</ComputerCard> </ComputerCard>
</Grid> </Grid>
</Grid> </Grid>
{/* <h3>System Properties in Electron</h3>
<Button onClick={getSystemProperties}>
Print all System Properties
</Button>
<br />
<pre id="info" style={{ whiteSpace: 'pre-wrap' }} /> */}
</Sheet> </Sheet>
</> </>
)}{' '} )}
</TabPanel> </TabPanel>
<TabPanel <TabPanel
value={1} value={1}
...@@ -311,7 +302,7 @@ export default function Computer() { ...@@ -311,7 +302,7 @@ export default function Computer() {
.filter((lib) => .filter((lib) =>
lib.name lib.name
.toLowerCase() .toLowerCase()
.includes(searchText.toLowerCase()) .includes(searchText.toLowerCase()),
) )
.map((lib) => { .map((lib) => {
return ( return (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment