Skip to content

Commit

Permalink
silly dom warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Cecil Bowen committed Mar 6, 2024
1 parent 1961fa7 commit 22d2c89
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import QUESTS_DATAMINE_SIGILS from './data/questDropsSigils.json';
import SIGILS_CURIO from './data/curioSigils.json';
import SIGILS_TRANS from './data/transmarvelSigils.json';
import { IconButton, TextField } from '@mui/material';
import React, { useEffect, useState } from "react";
import React, { useState } from "react";
import FormControlLabel from '@mui/material/FormControlLabel';
import FiberNewIcon from '@mui/icons-material/FiberNew';
import RestoreIcon from '@mui/icons-material/Restore';
Expand Down
6 changes: 4 additions & 2 deletions src/components/QuestTableBeta.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,12 +332,14 @@ const QuestTableBeta = ({
return <div>
{curio.length > 0 && curio.map(x => {
return <Paper className="oops curio" id="oops1" key={x} elevation={2}>
<Typography className="oopsText"><Typography className="oopsTextName">{x}</Typography> is only available through curios.</Typography>
<Typography className="oopsTextName">{x}</Typography>
<Typography className="oopsText"> is only available through curios.</Typography>
</Paper>;
})}
{trans.length > 0 && trans.map(x => {
return <Paper className="oops transmarvel" id="oops2" key={x} elevation={2}>
<Typography className="oopsText"><Typography className="oopsTextName">{x}</Typography> is only available through transmarvel.</Typography>
<Typography className="oopsTextName">{x}</Typography>
<Typography className="oopsText"> is only available through transmarvel.</Typography>
</Paper>;
})}
</div>;
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useThemeDetector.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useEffect, useState } from "react";
import { useEffect, useState } from "react";

export const useThemeDetector = () => {
const getCurrentTheme = () => window.matchMedia("(prefers-color-scheme: dark)").matches;
Expand Down
2 changes: 1 addition & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ code {
margin: 0.25em 1em;
padding: 0.5em 1em;
font-style: italic;
display: flex;
}
.oopsText {
font-family: monospace !important;
display: flex;
}
.oopsTextName {
text-decoration: underline;
Expand Down

0 comments on commit 22d2c89

Please sign in to comment.