Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Commit

Permalink
You Should Use Your Strength To Help Others.
Browse files Browse the repository at this point in the history
You Should Use Your Strength To Help Others.
  • Loading branch information
arielldev authored Mar 14, 2024
2 parents c6c1a86 + 2c52284 commit b299907
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions src/pages/main_page/internal_apps/file_system.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ function file_system(set_fs_html: React.Dispatch<React.SetStateAction<JSX.Elemen
function id(){return (internal_id + 1).toString();}
document.addEventListener('contextmenu', right_click);
return () => {
let Application = <div className='ApplicationDirectory'>
<h1 className='filesystemtxt2'>/{location}/</h1>
</div>

let app_html = <div className='frametest2'>

Check failure on line 35 in src/pages/main_page/internal_apps/file_system.tsx

View workflow job for this annotation

GitHub Actions / build (windows-latest)

JSX element 'div' has no corresponding closing tag.
{Application}

let app_html = <div className='frametest2'>
<div className='ApplicationDirectory'>
<h1 className='filesystemtxt2'>/{location}/</h1>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/main_page/main_page.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
position: absolute;
top: 0;
left: 0;
width: 10svw;
}

.selected{
Expand All @@ -82,4 +81,5 @@
pointer-events: none;
user-select: none;
height: 5svh;
}
}

4 changes: 2 additions & 2 deletions src/pages/main_page/main_page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import { useState } from 'react';

export default function main_page(){
const [fs, set_fs] = useState(<></>);
const example_app = desktop_app("Dolphin", folder, file_system(set_fs));
const not_example_app = desktop_app("not example app", search, () => {console.log("test");});
const example_app = desktop_app( "Dolphin", folder, file_system(set_fs));
const not_example_app = desktop_app("Search", search, () => {console.log("test");});

return <div id='background'>
{fs}
Expand Down

0 comments on commit b299907

Please sign in to comment.