FIX: Make Biome happy
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
c5576af81b
commit
b84aeb8bb9
@@ -24,7 +24,7 @@ import { IronCalcIcon } from "./icons";
|
||||
function App() {
|
||||
const [model, setModel] = useState<Model | null>(null);
|
||||
const [workbookState, setWorkbookState] = useState<WorkbookState | null>(
|
||||
null
|
||||
null,
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
@@ -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(
|
||||
await (await fetch(`/models/${filename}.ic`)).arrayBuffer(),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user