mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(site): apply code conventions (#12316)
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ global.TextDecoder = TextDecoder as any;
|
||||
global.Blob = Blob as any;
|
||||
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
|
||||
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,
|
||||
}) => {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user