Skip to content

Commit

Permalink
fix ts issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanM322 committed Oct 4, 2024
1 parent 0a2a060 commit 54f60e5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//@ts-nocheck
import React, { useCallback, useEffect, useState } from 'react';
import Modal from 'react-modal';

Expand All @@ -22,9 +23,8 @@ const PopUpChangeVideo: React.FC<IPopUpChangeVideo> = ({
mediaList,
index
}) => {
const { primaryColor, textColor, primaryButtonColor, isDarkMode } = useAppSelector(
(store) => store.colors
);
const { primaryColor, textColor, primaryButtonColor, isDarkMode } =
useAppSelector((store) => store.colors);
const { categories } = useAppSelector((store) => store.settings);
const rSwal = useSwal();

Expand Down Expand Up @@ -133,7 +133,9 @@ const PopUpChangeVideo: React.FC<IPopUpChangeVideo> = ({
zIndex: '1'
},
content: {
background: isDarkMode? `color-mix(in srgb, ${primaryColor}, #2D2D2D)` : 'var(--rhyno)',
background: isDarkMode
? `color-mix(in srgb, ${primaryColor}, #2D2D2D)`
: 'var(--rhyno)',
top: '50%',
left: '50%',
right: 'auto',
Expand Down Expand Up @@ -191,15 +193,15 @@ const PopUpChangeVideo: React.FC<IPopUpChangeVideo> = ({
label="Title"
customClass="form-control input-select-custom-style"
placeholder="Select a description"
{...selectCommonInfoNFT}
{...selectCommonInfoNFT}
/>
<InputField
getter={desc}
setter={setDesc}
label="Description"
customClass="form-control input-select-custom-style"
placeholder="Select a description"
{...selectCommonInfoNFT}
{...selectCommonInfoNFT}
/>
<InputSelect
// customClass="form-control input-select-custom-style"
Expand Down
1 change: 1 addition & 0 deletions rair-front/src/redux/notificationsSlice.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//@ts-nocheck
import type { PayloadAction } from '@reduxjs/toolkit';
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
import axios from 'axios';
Expand Down

0 comments on commit 54f60e5

Please sign in to comment.