mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-28 20:52:00 +08:00
website: try to fix SSR mismatch bug
This commit is contained in:
@ -21,6 +21,7 @@ export default React.memo(function SidebarAd() {
|
|||||||
<a
|
<a
|
||||||
className={clsx(styles.container, backgroundClass)}
|
className={clsx(styles.container, backgroundClass)}
|
||||||
href="https://www.moonchaser.io/?utm_source=techinterviewhandbook&utm_medium=referral&utm_content=website_docs_sidebar"
|
href="https://www.moonchaser.io/?utm_source=techinterviewhandbook&utm_medium=referral&utm_content=website_docs_sidebar"
|
||||||
|
key={Math.random()}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer noopener"
|
rel="noreferrer noopener"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@ -35,6 +36,7 @@ export default React.memo(function SidebarAd() {
|
|||||||
<a
|
<a
|
||||||
className={clsx(styles.container, backgroundClass)}
|
className={clsx(styles.container, backgroundClass)}
|
||||||
href="https://www.levels.fyi/services/?ref=TechInterviewHandbook&utm_source=techinterviewhandbook&utm_medium=referral&utm_content=website_docs_sidebar"
|
href="https://www.levels.fyi/services/?ref=TechInterviewHandbook&utm_source=techinterviewhandbook&utm_medium=referral&utm_content=website_docs_sidebar"
|
||||||
|
key={Math.random()}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer noopener"
|
rel="noreferrer noopener"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
@ -64,7 +64,7 @@ function Home() {
|
|||||||
<div className="col col--8 col--offset-2">
|
<div className="col col--8 col--offset-2">
|
||||||
<div className="margin-vert--lg text--center">
|
<div className="margin-vert--lg text--center">
|
||||||
{Math.random() > 0.5 ? (
|
{Math.random() > 0.5 ? (
|
||||||
<>
|
<div key={Math.random()}>
|
||||||
<h2 className={styles.sectionPrimaryTitle}>
|
<h2 className={styles.sectionPrimaryTitle}>
|
||||||
<strong>
|
<strong>
|
||||||
Get paid more. Receive risk-free salary negotiation
|
Get paid more. Receive risk-free salary negotiation
|
||||||
@ -84,9 +84,9 @@ function Home() {
|
|||||||
Get Risk-free Negotiation Help →
|
Get Risk-free Negotiation Help →
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<div key={Math.random()}>
|
||||||
<h2 className={styles.sectionPrimaryTitle}>
|
<h2 className={styles.sectionPrimaryTitle}>
|
||||||
<strong>
|
<strong>
|
||||||
Get paid, not played. Chat with former tech recruiters
|
Get paid, not played. Chat with former tech recruiters
|
||||||
@ -106,7 +106,7 @@ function Home() {
|
|||||||
Get Negotiation Help →
|
Get Negotiation Help →
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user