(filepath)
| 170 | "December" |
| 171 | ]; |
| 172 | export const fileasbytes = async (filepath) => { |
| 173 | const response = await fetch(filepath); // Adjust the path accordingly |
| 174 | const arrayBuffer = await response.arrayBuffer(); |
| 175 | return new Uint8Array(arrayBuffer); |
| 176 | }; |
| 177 | |
| 178 | export const openInNewTab = (url, target) => { |
| 179 | if (target) { |
no outgoing calls
no test coverage detected