fixed a thing or two
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
FROM node:17
|
FROM node:18.10.0
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
CMD npm i ; npx prisma generate ; npx prisma migrate dev ; npm run start:dev
|
CMD npm i ; npx prisma generate ; npx prisma migrate dev ; npm run start:dev
|
||||||
|
|||||||
10761
back/package-lock.json
generated
10761
back/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -237,8 +237,6 @@ const styles = StyleSheet.create({
|
|||||||
// Using `memo` to optimize rendering performance by memorizing the component's output.
|
// Using `memo` to optimize rendering performance by memorizing the component's output.
|
||||||
// This ensures that the component only re-renders when its props change.
|
// This ensures that the component only re-renders when its props change.
|
||||||
const MusicList = memo(MusicListComponent, (prev, next) => {
|
const MusicList = memo(MusicListComponent, (prev, next) => {
|
||||||
console.log('AAAAA');
|
|
||||||
console.log(prev.initialMusics, next.initialMusics);
|
|
||||||
return prev.initialMusics.length == next.initialMusics.length;
|
return prev.initialMusics.length == next.initialMusics.length;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user