From d5040441aa4493fcc0a49b9e2ba5292d31a3639e Mon Sep 17 00:00:00 2001 From: Colin Adler Date: Wed, 4 Oct 2023 17:15:20 -0500 Subject: [PATCH] fix(site): change `utils/delay` import path (#10065) --- site/src/api/api.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/site/src/api/api.ts b/site/src/api/api.ts index a7f6a9688a..c441edd766 100644 --- a/site/src/api/api.ts +++ b/site/src/api/api.ts @@ -1,7 +1,9 @@ import axios from "axios"; import dayjs from "dayjs"; import * as TypesGen from "./typesGenerated"; -import { delay } from "utils/delay"; +// This needs to include the `../`, otherwise it breaks when importing into +// vscode-coder. +import { delay } from "../utils/delay"; import userAgentParser from "ua-parser-js"; // Adds 304 for the default axios validateStatus function