FIX: Make Biome happy

This commit is contained in:
Nicolás Hatcher
2024-11-24 22:57:37 +01:00
committed by Nicolás Hatcher Andrés
parent c5576af81b
commit b84aeb8bb9
2 changed files with 4 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ import { IronCalcIcon } from "./icons";
function App() { function App() {
const [model, setModel] = useState<Model | null>(null); const [model, setModel] = useState<Model | null>(null);
const [workbookState, setWorkbookState] = useState<WorkbookState | null>( const [workbookState, setWorkbookState] = useState<WorkbookState | null>(
null null,
); );
useEffect(() => { useEffect(() => {

View File

@@ -21,7 +21,9 @@ export async function get_model(modelHash: string): Promise<Uint8Array> {
); );
} }
export async function get_documentation_model(filename: string): Promise<Uint8Array> { export async function get_documentation_model(
filename: string,
): Promise<Uint8Array> {
return new Uint8Array( return new Uint8Array(
await (await fetch(`/models/${filename}.ic`)).arrayBuffer(), await (await fetch(`/models/${filename}.ic`)).arrayBuffer(),
); );