fix: lint

This commit is contained in:
Jade (Rose) Rowland 2024-10-14 13:01:02 -04:00
parent b0d2115f43
commit 8703d684c4
8 changed files with 19 additions and 19 deletions

View file

@ -15,7 +15,6 @@ export default function ReplEditor(Props) {
const settings = useSettings();
const { panelPosition } = settings;
return (
<div className="h-full flex flex-col relative">
<Loader active={pending} />

View file

@ -51,8 +51,11 @@ export function Reference() {
))}
</div>
</div>
<div className="break-normal flex-grow flex-col overflow-y-auto overflow-x-hidden px-2 flex relative" id="reference-container">
<div className='prose dark:prose-invert min-w-full px-1 '>
<div
className="break-normal flex-grow flex-col overflow-y-auto overflow-x-hidden px-2 flex relative"
id="reference-container"
>
<div className="prose dark:prose-invert min-w-full px-1 ">
<h2>API Reference</h2>
<p>
This is the long list functions you can use! Remember that you don't need to remember all of those and that
@ -80,7 +83,7 @@ export function Reference() {
))}
</section>
))}
</div>
</div>
</div>
</div>
);

View file

@ -53,13 +53,12 @@ export function SoundsTab() {
return (
<div id="sounds-tab" className="px-4 flex flex-col w-full h-full dark:text-white text-stone-900">
<input
className="w-full p-1 bg-background rounded-md pb-2"
placeholder="Search"
value={search}
onChange={(e) => setSearch(e.target.value)}
/>
<input
className="w-full p-1 bg-background rounded-md pb-2"
placeholder="Search"
value={search}
onChange={(e) => setSearch(e.target.value)}
/>
<div className="pb-2 flex shrink-0 flex-wrap">
<ButtonGroup
@ -74,7 +73,7 @@ export function SoundsTab() {
></ButtonGroup>
<ImportSoundsButton onComplete={() => settingsMap.setKey('soundsFilter', 'user')} />
</div>
<div className="min-h-0 max-h-full grow overflow-auto font-mono text-sm break-normal pb-2">
{soundEntries.map(([name, { data, onTrigger }]) => {
return (