Typo

shahanneda/create-component-wrapper
Shahan Nedadahandeh 6 months ago
parent 3e19501003
commit d3ceb38fe6
Signed by: snedadah
GPG Key ID: 8638C7F917385B01
  1. 2
      pages/samplePage.tsx
  2. 2
      utils/getWindowDimensions.ts

@ -44,7 +44,7 @@ export default function SamplePage() {
text: word.key,
value: word.value,
}))}
// For components that we don't want to match the width necessarily we can provide direact values
// For components that we don't want to match the width necessarily we can provide direct values
width={isMobile ? 500 : 1000}
height={500}
/>

@ -1,4 +1,4 @@
// https://stackoverflow.com/questions/36862334/get-viewport-window-height-in-reactjs
// Attribution: https://stackoverflow.com/questions/36862334/get-viewport-window-height-in-reactjs
import { useState, useEffect } from "react";
type WindowDimensions = {

Loading…
Cancel
Save