Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/sections/Company/Legal/privacy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const privacyData = [
];

const Privacy = () => {
const { isDark } = useStyledDarkMode();
const { isDark, didLoad } = useStyledDarkMode();

// Create custom theme with Qanelas Soft font family
const customTheme = createTheme({
Expand Down Expand Up @@ -187,7 +187,7 @@ const Privacy = () => {
<p>
We process your personal data for a variety of purposes depending on how you interact with us. The table below details what we collect, why we collect it, and the legal justification (lawful basis) under the GDPR for doing so.
</p>
<SistentThemeProvider initialMode={isDark ? "dark" : "light"} theme={customTheme}>
{didLoad && <SistentThemeProvider key={isDark ? "dark" : "light"} initialMode={isDark ? "dark" : "light"} theme={customTheme}>
<Row className="table-container" $Hcenter>
<Col md={12} sx={{ px: 0 }}>
<StyledTableContainer>
Expand Down Expand Up @@ -230,7 +230,7 @@ const Privacy = () => {
</StyledTableContainer>
</Col>
</Row>
</SistentThemeProvider>
</SistentThemeProvider>}
<h3>Cookies and Tracking Technologies</h3>
<p>
We use cookies and similar technologies on our website to help it function, to analyze performance, and to personalize your experience. A cookie is a small text file stored on your device.
Expand Down
2 changes: 1 addition & 1 deletion src/sections/Company/Legal/sub-processors/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ const SubProcessors = () => {
<p>
Since data is physically stored in a predetermined location, once an account begins storing data it cannot be moved. If you want to switch to a different region, contact your local partner or Enterprise account manager to create a new account hosted in the region of your choice going forward.
</p>
<SistentThemeProvider initialMode={isDark ? "dark" : "light"} theme={customTheme}>
<SistentThemeProvider key={isDark ? "dark" : "light"} initialMode={isDark ? "dark" : "light"} theme={customTheme}>
<Row className="table-container" $Hcenter>
<Col md={12} sx={{ px: 0 }}>
{subProcessorData.map((section, index) => (
Expand Down
1 change: 1 addition & 0 deletions src/sections/Company/Legal/terms.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const TermsWrapper = styled.section`
margin: 0 auto;
padding-left: 2px;
margin-top: -20rem;
color: ${props => props.theme.whiteToBlack};

@media (min-width: 751px) and (max-width: 1536px) {
width: calc(100% - 22rem);
Expand Down
Loading