mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
chore(site): apply code conventions (#12316)
This commit is contained in:
@ -49,7 +49,7 @@ global.TextDecoder = TextDecoder as any;
|
|||||||
global.Blob = Blob as any;
|
global.Blob = Blob as any;
|
||||||
global.scrollTo = jest.fn();
|
global.scrollTo = jest.fn();
|
||||||
|
|
||||||
window.HTMLElement.prototype.scrollIntoView = function () {};
|
window.HTMLElement.prototype.scrollIntoView = jest.fn();
|
||||||
|
|
||||||
// Polyfill the getRandomValues that is used on utils/random.ts
|
// Polyfill the getRandomValues that is used on utils/random.ts
|
||||||
Object.defineProperty(global.self, "crypto", {
|
Object.defineProperty(global.self, "crypto", {
|
||||||
|
@ -87,7 +87,9 @@ export const BuildLogsDrawer: FC<BuildLogsDrawerProps> = ({
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
const MissingVariablesBanner: FC<{ onFillVariables: () => void }> = ({
|
type MissingVariablesBannerProps = { onFillVariables: () => void };
|
||||||
|
|
||||||
|
const MissingVariablesBanner: FC<MissingVariablesBannerProps> = ({
|
||||||
onFillVariables,
|
onFillVariables,
|
||||||
}) => {
|
}) => {
|
||||||
return (
|
return (
|
||||||
|
Reference in New Issue
Block a user