Skip to content

Conversation

@AishDani
Copy link
Contributor

… content-mapper

@AishDani AishDani requested a review from a team as a code owner April 21, 2025 15:27
@AishDani AishDani requested review from RohitKini and sayalijoshi27 and removed request for a team April 21, 2025 15:27
const [csOptions, setcsOptions] = useState(options);
const [sourceoptions, setsourceoptions] = useState(sourceOptions);
const newMigrationData = useSelector((state: RootState) => state?.migration?.newMigrationData);
const [selectedStack,setselectedStack] = useState<IDropDown>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use proper format like [selectedStack, setSelectedStack]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

const [sourceLocales, setsourceLocales] = useState<{ label: string; value: string }[]>([]);
const [isLoading, setisLoading] = useState<boolean>(false);
const [localeChanged, setlocaleChanged] = useState<boolean>(false);
const [currentStack, setcurrentStack] = useState<IDropDown>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be setCurrentStack

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

setpreviousStack(prevStackRef?.current);
}
prevStackRef.current = stack;
}, [stack]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow same proper format in useState above

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@AishDani AishDani requested a review from sayalijoshi27 April 21, 2025 16:03
@sayalijoshi27 sayalijoshi27 merged commit 7a31d00 into dev Apr 21, 2025
4 of 5 checks passed
umeshmore45 pushed a commit that referenced this pull request Jun 11, 2025
fix:master-locale not showing for new stack and title and url bugs in…
AishDani pushed a commit that referenced this pull request Jul 26, 2025
fix:master-locale not showing for new stack and title and url bugs in…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants