styling on screens, build out settings screen more

This commit is contained in:
Violet Caulfield
2024-11-30 09:07:26 -06:00
parent 471a6222a5
commit afcfe269d8
5 changed files with 32 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ function convertFileToBase64(file: File): Promise<string> {
reader.onloadend = () => {
if (!_.isEmpty(reader.result))
resolve(reader.result.toString())
resolve(Buffer.from(reader.result as ArrayBuffer).toString())
else
reject(new Error("Unable to convert file to base64"));
}