Remove unused styled jsx tag
This caused the lint to fail on CI > auth $ /home/runner/work/ente/ente/web/node_modules/.bin/tsc Error: src/pages/auth/index.tsx(125,20): error TS2322: Type '{ children: string; jsx: true; }' is not assignable to type 'ClassAttributes<HTMLStyleElement> & StyleHTMLAttributes<HTMLStyleElement> & { css?: Interpolation<Theme>; }'. Property 'jsx' does not exist on type 'ClassAttributes<HTMLStyleElement> & StyleHTMLAttributes<HTMLStyleElement> & { css?: Interpolation<Theme>; }'. error Command failed with exit code 2. From reading the code, this CSS doesn't seem to be coming into effect. Then I also did a test to verify that the auth app is correctly switching to a 2 column layout even without this.
This commit is contained in:
parent
10b0d9f533
commit
e16834e52e
1 changed files with 0 additions and 13 deletions
|
@ -122,19 +122,6 @@ const AuthenticatorCodesPage = () => {
|
|||
<AuthFooter />
|
||||
<div style={{ marginBottom: "4rem" }} />
|
||||
</div>
|
||||
<style jsx>{`
|
||||
@media (min-width: 800px) {
|
||||
.row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
.col {
|
||||
flex: 0 0 50%;
|
||||
max-width: 50%;
|
||||
}
|
||||
}
|
||||
`}</style>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue